public class CustomizeDefaultUserAuthenticationConverter
extends org.springframework.security.oauth2.provider.token.DefaultUserAuthenticationConverter
implements org.springframework.security.oauth2.provider.token.UserAuthenticationConverter
| 构造器和说明 |
|---|
CustomizeDefaultUserAuthenticationConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.security.core.Authentication |
extractAuthentication(java.util.Map<java.lang.String,?> map)
自定义构造 Authentication 设置自定义用户信息 用于自定义权限校验注解使用
|
convertUserAuthentication, setDefaultAuthorities, setUserDetailsServicepublic CustomizeDefaultUserAuthenticationConverter()
public org.springframework.security.core.Authentication extractAuthentication(java.util.Map<java.lang.String,?> map)
extractAuthentication 在接口中 org.springframework.security.oauth2.provider.token.UserAuthenticationConverterextractAuthentication 在类中 org.springframework.security.oauth2.provider.token.DefaultUserAuthenticationConvertermap - RemoteTokenServer请求checkToken返回的数据Copyright © 2021. All Rights Reserved.