Class JwtAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.frankframework.management.security.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
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJwtAuthenticationToken
(com.nimbusds.jwt.JWTClaimsSet claimsSet, String rawJwt) -
Method Summary
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, getName, setAuthenticated, setDetails, toString
-
Constructor Details
-
JwtAuthenticationToken
public JwtAuthenticationToken(com.nimbusds.jwt.JWTClaimsSet claimsSet, String rawJwt) throws ParseException - Throws:
ParseException
-
-
Method Details
-
isAuthenticated
public boolean isAuthenticated()- Specified by:
isAuthenticated
in interfaceorg.springframework.security.core.Authentication
- Overrides:
isAuthenticated
in classorg.springframework.security.authentication.AbstractAuthenticationToken
-
getPrincipal
-
getCredentials
-
equals
-
hashCode
public int hashCode() -
verifyJWT
-