类 FixedPrincipalExtractor
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.resource.FixedPrincipalExtractor
- 所有已实现的接口:
PrincipalExtractor
public class FixedPrincipalExtractor extends Object implements PrincipalExtractor
Default implementation ofPrincipalExtractor
. Extracts the principal from the map with well known keys.- 从以下版本开始:
- 1.4.0
构造器详细资料
FixedPrincipalExtractor
public FixedPrincipalExtractor()
方法详细资料
extractPrincipal
public Object extractPrincipal(Map<String,Object> map)
从接口复制的说明:PrincipalExtractor
Extract the principal that should be used for the token.- 指定者:
extractPrincipal
在接口中PrincipalExtractor
- 参数:
map
- the source map- 返回:
- the extracted principal or
null