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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>Nested classes/interfaces inherited from interface org.springframework.security.core.Authentication
org.springframework.security.core.Authentication.Builder<B> -
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, toStringMethods inherited from interface org.springframework.security.core.Authentication
toBuilder
-
Constructor Details
-
JwtAuthenticationToken
public JwtAuthenticationToken(com.nimbusds.jwt.JWTClaimsSet claimsSet, String rawJwt) throws ParseException - Throws:
ParseException
-
-
Method Details
-
isAuthenticated
public boolean isAuthenticated()- Specified by:
isAuthenticatedin interfaceorg.springframework.security.core.Authentication- Overrides:
isAuthenticatedin classorg.springframework.security.authentication.AbstractAuthenticationToken
-
getPrincipal
-
getCredentials
-
equals
-
hashCode
-
verifyJWT
-