Class NullAuthenticator

    • Constructor Detail

      • NullAuthenticator

        public NullAuthenticator()
    • Method Detail

      • parse

        public io.jsonwebtoken.Claims parse​(String credentials)
        Description copied from interface: Authenticator
        Parse a token into a set of claims.
        Specified by:
        parse in interface Authenticator
        Parameters:
        credentials - the token
        Returns:
        JWT claims
      • authenticate

        public Principal authenticate​(String credentials)
        Description copied from interface: Authenticator
        Authenticate credentials.
        Specified by:
        authenticate in interface Authenticator
        Parameters:
        credentials - the token
        Returns:
        the principal if present