|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LdapUserSearch
Obtains a user's information from the LDAP directory given a login name.
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.
Method Summary | |
---|---|
org.springframework.ldap.core.DirContextOperations |
searchForUser(java.lang.String username)
Locates a single user in the directory and returns the LDAP information for that user. |
Method Detail |
---|
org.springframework.ldap.core.DirContextOperations searchForUser(java.lang.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |