mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-10 12:23:30 +00:00
Added setters for rolePrefix and convertToUpperCase
This commit is contained in:
parent
c1e76b64bc
commit
e1eac8f0ca
@ -50,6 +50,14 @@ public class LdapUserDetailsMapper implements LdapEntryMapper {
|
||||
this.roleAttributes = roleAttributes;
|
||||
}
|
||||
|
||||
public void setConvertToUpperCase(boolean convertToUpperCase) {
|
||||
this.convertToUpperCase = convertToUpperCase;
|
||||
}
|
||||
|
||||
public void setRolePrefix(String rolePrefix) {
|
||||
this.rolePrefix = rolePrefix;
|
||||
}
|
||||
|
||||
public Object mapAttributes(String dn, Attributes attributes) throws NamingException {
|
||||
LdapUserDetailsImpl.Essence essence = new LdapUserDetailsImpl.Essence();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user