Browse Source

Added setters for rolePrefix and convertToUpperCase

1.0.x
Luke Taylor 20 years ago
parent
commit
e1eac8f0ca
  1. 8
      core/src/main/java/org/acegisecurity/userdetails/ldap/LdapUserDetailsMapper.java

8
core/src/main/java/org/acegisecurity/userdetails/ldap/LdapUserDetailsMapper.java

@ -50,6 +50,14 @@ public class LdapUserDetailsMapper implements LdapEntryMapper { @@ -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…
Cancel
Save