|
Spring Security Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserDetailsContextMapper
Operations to map a UserDetails object to and from a Spring LDAP DirContextOperations implementation. Used by LdapUserDetailsManager when loading and saving/creating user information.
| Method Summary | |
|---|---|
UserDetails |
mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
GrantedAuthority[] authority)
Creates a fully populated UserDetails object for use by the security framework. |
void |
mapUserToContext(UserDetails user,
org.springframework.ldap.core.DirContextAdapter ctx)
Reverse of the above operation. |
| Method Detail |
|---|
UserDetails mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
GrantedAuthority[] authority)
ctx - the context object which contains the user information.username - the user's supplied login name.authority - the list of authorities which the user should be given.
void mapUserToContext(UserDetails user,
org.springframework.ldap.core.DirContextAdapter ctx)
|
Spring Security Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||