类 UsernamePasswordGrantAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationGrantAuthenticationToken
cn.bbwres.biscuit.security.oauth2.grant.username.UsernamePasswordGrantAuthenticationToken
- 所有已实现的接口:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class UsernamePasswordGrantAuthenticationToken
extends org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationGrantAuthenticationToken
用户名 密码登录的token
- 作者:
- zhanglinfeng
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationGrantAuthenticationToken
getAdditionalParameters, getGrantType, getPrincipal从类继承的方法 org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
字段详细资料
-
PASSWORD
public static final org.springframework.security.oauth2.core.AuthorizationGrantType PASSWORD
-
-
构造器详细资料
-
UsernamePasswordGrantAuthenticationToken
protected UsernamePasswordGrantAuthenticationToken(org.springframework.security.core.Authentication clientPrincipal, @Nullable Map<String, Object> additionalParameters, String username, String password, String tenantId) Sub-class constructor.- 参数:
clientPrincipal- the authenticated client principaladditionalParameters- the additional parameters
-
-
方法详细资料
-
getCredentials
- 指定者:
getCredentials在接口中org.springframework.security.core.Authentication- 覆盖:
getCredentials在类中org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationGrantAuthenticationToken
-