mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-25 09:28:23 +00:00
Call setUserSearchBean(this) so that returned UserSearchResults have reference to the search information used to construct them.
This commit is contained in:
parent
b6657a18d1
commit
f58cdb7c49
@ -74,6 +74,7 @@ public class UserSearchBean implements InitializingBean {
|
||||
}
|
||||
SearchResult searchResult = (SearchResult)enm.next();
|
||||
UserSearchResults userSearchResults = new UserSearchResults(searchResult);
|
||||
userSearchResults.setUserSearchBean(this);
|
||||
|
||||
String userDN = searchResult.getName();
|
||||
if (searchResult.isRelative()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user