Class JjwtJWTParser

  • All Implemented Interfaces:
    JWTParser

    public class JjwtJWTParser
    extends java.lang.Object
    implements JWTParser
    Jjwt JWTParser
    • Constructor Summary

      Constructors 
      Constructor Description
      JjwtJWTParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void parseJWT​(Token token, AuthClientConf clientConfig, AuthServerConf serverConfig, java.lang.String strStoredNonce, org.apache.log4j.Logger logger)
      Extract Json Web Token from the token
      java.lang.String parseJWT​(java.lang.String strJwt, AuthClientConf clientConfig, AuthServerConf serverConfig, org.apache.log4j.Logger logger)
      Extract Claims from the jwt
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JjwtJWTParser

        public JjwtJWTParser()
    • Method Detail

      • parseJWT

        public void parseJWT​(Token token,
                             AuthClientConf clientConfig,
                             AuthServerConf serverConfig,
                             java.lang.String strStoredNonce,
                             org.apache.log4j.Logger logger)
                      throws TokenValidationException
        Extract Json Web Token from the token
        Specified by:
        parseJWT in interface JWTParser
        Parameters:
        token - The token
        clientConfig - The client configuration
        serverConfig - The server configuration
        strStoredNonce - The stored nonce
        logger - The logger
        Throws:
        TokenValidationException - if an error occurs