|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.userdetails.ldap.PersonContextMapper
public class PersonContextMapper
| Constructor Summary | |
|---|---|
PersonContextMapper()
|
|
| Method Summary | |
|---|---|
UserDetails |
mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
java.lang.String username,
GrantedAuthority[] authorities)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersonContextMapper()
| Method Detail |
|---|
public UserDetails mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
java.lang.String username,
GrantedAuthority[] authorities)
UserDetailsContextMapper
mapUserFromContext in interface UserDetailsContextMapperctx - the context object which contains the user information.username - the user's supplied login name.authorities - the list of authorities which the user should be given.
public void mapUserToContext(UserDetails user,
org.springframework.ldap.core.DirContextAdapter ctx)
UserDetailsContextMapper
mapUserToContext in interface UserDetailsContextMapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||