@Deprecated public interface UserAuthenticationConverter
Modifier and Type | Field and Description |
---|---|
static String |
AUTHORITIES
Deprecated.
|
static String |
USERNAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
convertUserAuthentication(org.springframework.security.core.Authentication userAuthentication)
Deprecated.
Extract information about the user to be used in an access token (i.e. for resource servers).
|
org.springframework.security.core.Authentication |
extractAuthentication(Map<String,?> map)
Deprecated.
Inverse of
convertUserAuthentication(Authentication) . |
static final String AUTHORITIES
static final String USERNAME
Map<String,?> convertUserAuthentication(org.springframework.security.core.Authentication userAuthentication)
userAuthentication
- an authentication representing a userorg.springframework.security.core.Authentication extractAuthentication(Map<String,?> map)
convertUserAuthentication(Authentication)
. Extracts an Authentication from a map.map
- a map of user informationCopyright © 2019. All rights reserved.