From 6664f57ff636effcecb686817a33e5602fef9b57 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Fri, 12 Dec 2008 23:22:26 +0000 Subject: [PATCH] SEC-992: Removed the line setting returningObj to false. --- .../security/ldap/SpringSecurityLdapTemplate.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java b/core/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java index 50f10bd53d..b611a21231 100644 --- a/core/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java +++ b/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);