get ldap mapping if existing from security.properties
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430608 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d63d6355f1
commit
8dbdf40af5
|
@ -355,7 +355,8 @@ public class DefaultLdapRoleMapper
|
||||||
{
|
{
|
||||||
if ( key.startsWith( UserConfigurationKeys.LDAP_GROUPS_ROLE_START_KEY ) )
|
if ( key.startsWith( UserConfigurationKeys.LDAP_GROUPS_ROLE_START_KEY ) )
|
||||||
{
|
{
|
||||||
map.put( key, userConf.getString( key ) );
|
map.put( StringUtils.substringAfter( key, UserConfigurationKeys.LDAP_GROUPS_ROLE_START_KEY ),
|
||||||
|
userConf.getString( key ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -226,6 +226,6 @@ public class DefaultUserConfiguration
|
||||||
|
|
||||||
public Collection<String> getKeys()
|
public Collection<String> getKeys()
|
||||||
{
|
{
|
||||||
return this.registry.getSubset( PREFIX ).getKeys();
|
return this.registry.getSubset( PREFIX ).getFullKeys();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue