java.lang.Object | |
↳ | org.springframework.security.ldap.search.FilterBasedLdapUserSearch |
LdapUserSearch implementation which uses an Ldap filter to locate the user.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the LdapUserDetails containing the user's information
| |||||||||||
Sets the corresponding property on the SearchControls instance used in the search.
| |||||||||||
Specifies the attributes that will be returned as part of the search.
| |||||||||||
If true then searches the entire subtree as identified by context, if false (the default) then only
searches the level identified by the context.
| |||||||||||
The time to wait before the search fails; the default is zero, meaning forever.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.ldap.search.LdapUserSearch
|
Return the LdapUserDetails containing the user's information
username | the username to search for. |
---|
UsernameNotFoundException | if no matching entry is found. |
---|
Sets the corresponding property on the SearchControls instance used in the search.
deref | the derefLinkFlag value as defined in SearchControls.. |
---|
Specifies the attributes that will be returned as part of the search.
null indicates that all attributes will be returned. An empty array indicates no attributes are returned.
attrs | An array of attribute names identifying the attributes that will be returned. Can be null. |
---|
If true then searches the entire subtree as identified by context, if false (the default) then only searches the level identified by the context.
searchSubtree | true the underlying search controls should be set to SearchControls.SUBTREE_SCOPE rather than SearchControls.ONELEVEL_SCOPE. |
---|
The time to wait before the search fails; the default is zero, meaning forever.
searchTimeLimit | the time limit for the search (in milliseconds). |
---|