no more need of the ROLE field

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1311456 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-04-09 21:18:55 +00:00
parent 24eb782651
commit 74f6bf2d6a
6 changed files with 1 additions and 13 deletions

View File

@ -30,8 +30,6 @@ package org.apache.archiva.redback.authentication;
*/
public interface AuthenticationDataSource
{
public String ROLE = AuthenticationDataSource.class.getName();
String getPrincipal();
boolean isEnforcePasswordChange();

View File

@ -31,8 +31,6 @@ import javax.naming.spi.StateFactory;
*/
public interface LdapConnectionFactory
{
String ROLE = LdapConnectionFactory.class.getName();
LdapConnection getConnection()
throws LdapException;

View File

@ -33,10 +33,6 @@ import java.io.IOException;
*/
public interface DataManagementTool
{
/**
* Plexus role.
*/
String ROLE = DataManagementTool.class.getName();
void backupRBACDatabase( RBACManager manager, File backupDirectory )
throws RbacManagerException, IOException, XMLStreamException;

View File

@ -29,7 +29,5 @@ import org.apache.archiva.redback.keys.AuthenticationKey;
*/
public interface MailGenerator
{
String ROLE = MailGenerator.class.getName();
String generateMail( String templateName, AuthenticationKey authkey, String baseUrl );
}

View File

@ -24,7 +24,5 @@ package org.apache.archiva.redback.struts2.interceptor;
*/
public interface MockComponent
{
String ROLE = MockComponent.class.getName();
void displayResult( String result );
}

View File

@ -24,5 +24,5 @@ package org.apache.archiva.redback.system;
*/
public interface SecureApplication
{
String ROLE = SecureApplication.class.getName();
//
}