Browse Source

SEC-992: Removed the line setting returningObj to false.

Luke Taylor 16 years ago
parent
commit
6664f57ff6

+ 0 - 1
core/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java

@@ -165,7 +165,6 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
         SearchControls ctls = new SearchControls();
         ctls.setSearchScope(searchControls.getSearchScope());
         ctls.setReturningAttributes(new String[] {attributeName});
-        ctls.setReturningObjFlag(false);
 
         search(base, formattedFilter, ctls, roleMapper);