fix default groupdn

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430635 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-08 23:55:16 +00:00
parent 05703e5a23
commit 710b4632d7
1 changed files with 6 additions and 1 deletions

View File

@ -80,7 +80,12 @@ public class DefaultLdapRoleMapper
this.baseDn = userConf.getConcatenatedList( UserConfigurationKeys.LDAP_BASEDN, this.baseDn );
this.groupsDn = userConf.getConcatenatedList( UserConfigurationKeys.LDAP_GROUPS_BASEDN, this.baseDn );
this.groupsDn = userConf.getConcatenatedList( UserConfigurationKeys.LDAP_GROUPS_BASEDN, this.groupsDn );
if ( StringUtils.isEmpty( this.groupsDn ) )
{
this.groupsDn = this.baseDn;
}
}
public String getLdapGroup( String role )