Class JwtValidator

  • All Implemented Interfaces:
    TokenValidator

    public class JwtValidator
    extends Object
    implements TokenValidator

    A TokenValidator capable of validating and parsing JWT. Most of the validations performed by this validator are based on RFC-7523 (JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants).

    This validator can also be used as a JWT parser only. In this case, for security reasons, you need to make sure that JWT validations such as issuer, audience and signature checks are performed before obtaining identities from this realm.

    Author:
    Pedro Igor