Преглед на файлове

Added setters for rolePrefix and convertToUpperCase

Luke Taylor преди 19 години
родител
ревизия
e1eac8f0ca
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 8 0
      core/src/main/java/org/acegisecurity/userdetails/ldap/LdapUserDetailsMapper.java

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

@@ -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();