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

    Constructors
    Constructor
    Description
    JwtAuthenticationToken(com.nimbusds.jwt.JWTClaimsSet claimsSet, String rawJwt)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    int
     
    boolean
     
    boolean
     

    Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    eraseCredentials, getAuthorities, getDetails, getName, setAuthenticated, setDetails, toString

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.security.core.Authentication

    toBuilder

    Methods inherited from interface Principal

    implies
  • Constructor Details

  • Method Details

    • isAuthenticated

      public boolean isAuthenticated()
      Specified by:
      isAuthenticated in interface org.springframework.security.core.Authentication
      Overrides:
      isAuthenticated in class org.springframework.security.authentication.AbstractAuthenticationToken
    • getPrincipal

      public Object getPrincipal()
    • getCredentials

      public Object getCredentials()
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface Principal
      Overrides:
      equals in class org.springframework.security.authentication.AbstractAuthenticationToken
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Principal
      Overrides:
      hashCode in class org.springframework.security.authentication.AbstractAuthenticationToken
    • verifyJWT

      public boolean verifyJWT(String jwt)