From e1eac8f0cab67abd477bf7cb5db7a2ba25b8ea2d Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sun, 21 May 2006 02:19:42 +0000 Subject: [PATCH] Added setters for rolePrefix and convertToUpperCase --- .../userdetails/ldap/LdapUserDetailsMapper.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/src/main/java/org/acegisecurity/userdetails/ldap/LdapUserDetailsMapper.java b/core/src/main/java/org/acegisecurity/userdetails/ldap/LdapUserDetailsMapper.java index c0d7d8141a..43307bf7b8 100644 --- a/core/src/main/java/org/acegisecurity/userdetails/ldap/LdapUserDetailsMapper.java +++ b/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();