public interface UserDetailsContextMapper
DirContextOperationsimplementation. Used by
LdapUserDetailsManagerwhen loading and saving/creating user information, and also by the
LdapAuthenticationProviderto allow customization of the user data loaded during authentication.
|Modifier and Type||Method and Description|
Creates a fully populated UserDetails object for use by the security framework.
Reverse of the above operation.
UserDetails mapUserFromContext(DirContextOperations ctx, String username, Collection<? extends GrantedAuthority> authorities)
ctx- the context object which contains the user information.
username- the user's supplied login name.