浏览代码

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

Luke Taylor 17 年之前
父节点
当前提交
6664f57ff6
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      core/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java

+ 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);