|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserAuthenticationConverter
Utility interface for converting a user authentication to and from a Map.
| Method Summary | |
|---|---|
Map<String,?> |
convertUserAuthentication(org.springframework.security.core.Authentication userAuthentication)
Extract information about the user to be used in an access token (i.e. |
org.springframework.security.core.Authentication |
extractAuthentication(Map<String,?> map)
Inverse of convertUserAuthentication(Authentication). |
| Method Detail |
|---|
Map<String,?> convertUserAuthentication(org.springframework.security.core.Authentication userAuthentication)
userAuthentication - an authentication representing a user
org.springframework.security.core.Authentication extractAuthentication(Map<String,?> map)
convertUserAuthentication(Authentication). Extracts an Authentication from a map.
map - a map of user information
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||