org.springframework.security.ldap.userdetails.UserDetailsContextMapper |
Known Indirect Subclasses |
Operations to map a UserDetails object to and from a Spring LDAP DirContextOperations
implementation.
Used by LdapUserDetailsManager
when loading and saving/creating user information, and also by the
LdapAuthenticationProvider
to allow customization of the user data loaded during authentication.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a fully populated UserDetails object for use by the security framework.
| |||||||||||
Reverse of the above operation.
|
Creates a fully populated UserDetails object for use by the security framework.
ctx | the context object which contains the user information. |
---|---|
username | the user's supplied login name. |
Reverse of the above operation. Populates a context object from the supplied user object. Called when saving a user, for example.