diff --git a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/DefaultLdapRoleMapper.java b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/DefaultLdapRoleMapper.java index 7723413c..76a561e3 100644 --- a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/DefaultLdapRoleMapper.java +++ b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/DefaultLdapRoleMapper.java @@ -114,11 +114,6 @@ public class DefaultLdapRoleMapper this.userIdAttribute = userConf.getString( UserConfigurationKeys.LDAP_USER_ID_ATTRIBUTE, this.userIdAttribute ); } - public String getLdapGroup( String role ) - { - return userConf.getString( UserConfigurationKeys.LDAP_GROUPS_ROLE_START_KEY + role ); - } - public List getAllGroups( DirContext context ) throws MappingException { diff --git a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/LdapRoleMapper.java b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/LdapRoleMapper.java index 79ec33fa..697b800f 100644 --- a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/LdapRoleMapper.java +++ b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/role/LdapRoleMapper.java @@ -33,12 +33,6 @@ import java.util.Map; */ public interface LdapRoleMapper { - /** - * @param role redback role - * @return corresponding LDAP group - */ - String getLdapGroup( String role ) - throws MappingException; // for continuum ? //String getLdapGroup( String role, String resource );