Class JwtAuthenticationToken
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- com.atlassian.connect.spring.internal.auth.jwt.JwtAuthenticationToken
-
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
public class JwtAuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken
An authentication token for a set of unverifiedJSON Web Token credentials
.- See Also:
JwtAuthentication
,JwtCredentials
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JwtAuthenticationToken(JwtCredentials jwtCredentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JwtCredentials
getCredentials()
Object
getPrincipal()
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
-
-
-
Constructor Detail
-
JwtAuthenticationToken
public JwtAuthenticationToken(JwtCredentials jwtCredentials)
-
-
Method Detail
-
getCredentials
public JwtCredentials getCredentials()
-
getPrincipal
public Object getPrincipal()
-
-