mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-06 18:52:13 +00:00
Change to more appropriate inline inner class name.
This commit is contained in:
parent
0b2be28def
commit
98887f37da
@ -124,7 +124,7 @@ public class LdapTemplate {
|
|||||||
public Set searchForSingleAttributeValues(final String base, final String filter, final Object[] params, final String attributeName) {
|
public Set searchForSingleAttributeValues(final String base, final String filter, final Object[] params, final String attributeName) {
|
||||||
|
|
||||||
|
|
||||||
class LdapSearchCallback implements LdapCallback {
|
class SingleAttributeSearchCallback implements LdapCallback {
|
||||||
|
|
||||||
public Object execute(DirContext ctx) throws NamingException {
|
public Object execute(DirContext ctx) throws NamingException {
|
||||||
Set unionOfValues = new HashSet();
|
Set unionOfValues = new HashSet();
|
||||||
@ -160,6 +160,6 @@ public class LdapTemplate {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (Set)execute(new LdapSearchCallback());
|
return (Set)execute(new SingleAttributeSearchCallback());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user