diff --git a/redback-authentication/redback-authentication-api/src/main/java/org/apache/archiva/redback/authentication/AuthenticationDataSource.java b/redback-authentication/redback-authentication-api/src/main/java/org/apache/archiva/redback/authentication/AuthenticationDataSource.java index f745db98..82a49a2f 100644 --- a/redback-authentication/redback-authentication-api/src/main/java/org/apache/archiva/redback/authentication/AuthenticationDataSource.java +++ b/redback-authentication/redback-authentication-api/src/main/java/org/apache/archiva/redback/authentication/AuthenticationDataSource.java @@ -30,8 +30,6 @@ package org.apache.archiva.redback.authentication; */ public interface AuthenticationDataSource { - public String ROLE = AuthenticationDataSource.class.getName(); - String getPrincipal(); boolean isEnforcePasswordChange(); diff --git a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionFactory.java b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionFactory.java index 3821adfc..e7ca10ef 100644 --- a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionFactory.java +++ b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionFactory.java @@ -31,8 +31,6 @@ import javax.naming.spi.StateFactory; */ public interface LdapConnectionFactory { - String ROLE = LdapConnectionFactory.class.getName(); - LdapConnection getConnection() throws LdapException; diff --git a/redback-data-management/src/main/java/org/apache/archiva/redback/management/DataManagementTool.java b/redback-data-management/src/main/java/org/apache/archiva/redback/management/DataManagementTool.java index 70952135..8949cf53 100644 --- a/redback-data-management/src/main/java/org/apache/archiva/redback/management/DataManagementTool.java +++ b/redback-data-management/src/main/java/org/apache/archiva/redback/management/DataManagementTool.java @@ -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; diff --git a/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/mail/MailGenerator.java b/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/mail/MailGenerator.java index 52554099..e7ae4344 100644 --- a/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/mail/MailGenerator.java +++ b/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/mail/MailGenerator.java @@ -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 ); } diff --git a/redback-integrations/redback-struts2/redback-struts2-integration/src/test/java/org/apache/archiva/redback/struts2/interceptor/MockComponent.java b/redback-integrations/redback-struts2/redback-struts2-integration/src/test/java/org/apache/archiva/redback/struts2/interceptor/MockComponent.java index 0158043e..e6f12476 100644 --- a/redback-integrations/redback-struts2/redback-struts2-integration/src/test/java/org/apache/archiva/redback/struts2/interceptor/MockComponent.java +++ b/redback-integrations/redback-struts2/redback-struts2-integration/src/test/java/org/apache/archiva/redback/struts2/interceptor/MockComponent.java @@ -24,7 +24,5 @@ package org.apache.archiva.redback.struts2.interceptor; */ public interface MockComponent { - String ROLE = MockComponent.class.getName(); - void displayResult( String result ); } diff --git a/redback-system/src/test/java/org/apache/archiva/redback/system/SecureApplication.java b/redback-system/src/test/java/org/apache/archiva/redback/system/SecureApplication.java index fb796d61..8fc86898 100644 --- a/redback-system/src/test/java/org/apache/archiva/redback/system/SecureApplication.java +++ b/redback-system/src/test/java/org/apache/archiva/redback/system/SecureApplication.java @@ -24,5 +24,5 @@ package org.apache.archiva.redback.system; */ public interface SecureApplication { - String ROLE = SecureApplication.class.getName(); + // }