Class DefaultJWTCallerPrincipal

  • All Implemented Interfaces:
    Principal, org.eclipse.microprofile.jwt.JsonWebToken

    public class DefaultJWTCallerPrincipal
    extends JWTCallerPrincipal
    A default implementation of JWTCallerPrincipal that wraps the jose4j JwtClaims.
    See Also:
    JWTClaimsSet
    • Constructor Detail

      • DefaultJWTCallerPrincipal

        public DefaultJWTCallerPrincipal​(String rawToken,
                                         be.atbash.ee.security.octopus.nimbus.jwt.JWTClaimsSet claimsSet,
                                         JWTAuthContextInfo authContextInfo)
        Create the DefaultJWTCallerPrincipal from the parsed JWT token and the extracted principal name
        Parameters:
        rawToken - - raw token value
        claimsSet - - JWT claims set
        authContextInfo - - The Context information