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:
parent
05703e5a23
commit
710b4632d7
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue