public interface LdapUserSearch
May be optionally used to configure the LDAP authentication implementation when a more sophisticated approach is required than just using a simple username->DN mapping.
| Modifier and Type | Method and Description |
|---|---|
DirContextOperations |
searchForUser(String username)
Locates a single user in the directory and returns the LDAP information for that
user.
|
DirContextOperations searchForUser(String username) throws UsernameNotFoundException
username - the login name supplied to the authentication service.UsernameNotFoundException - if no user with the supplied name could be
located by the search.