Interface PrincipalExtractor
- All Known Implementing Classes:
FixedPrincipalExtractor
public interface PrincipalExtractor
Strategy used byUserInfoTokenServices
to extract the principal from the resource server's response.- Since:
- 1.4.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
extractPrincipal(Map<String,Object> map)
Extract the principal that should be used for the token.
Method Detail
extractPrincipal
Object extractPrincipal(Map<String,Object> map)
Extract the principal that should be used for the token.- Parameters:
map
- the source map- Returns:
- the extracted principal or
null