接口 PrincipalExtractor
- 所有已知实现类:
FixedPrincipalExtractor
public interface PrincipalExtractor
Strategy used byUserInfoTokenServices
to extract the principal from the resource server's response.- 从以下版本开始:
- 1.4.0
方法详细资料
extractPrincipal
Object extractPrincipal(Map<String,Object> map)
Extract the principal that should be used for the token.- 参数:
map
- the source map- 返回:
- the extracted principal or
null