Class ClientJwtValidator

java.lang.Object
org.apache.kafka.common.security.oauthbearer.ClientJwtValidator
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerConfigurable, JwtValidator

public class ClientJwtValidator extends Object implements JwtValidator
ClientJwtValidator is an implementation of JwtValidator that is used by the client to perform some rudimentary validation of the JWT access token that is received as part of the response from posting the client credentials to the OAuth/OIDC provider's token endpoint. The validation steps performed are:
  1. Basic structural validation of the b64token value as defined in RFC 6750 Section 2.1
  2. Basic conversion of the token into an in-memory map
  3. Presence of scope, exp, subject, and iat claims
  • Field Details

  • Constructor Details

    • ClientJwtValidator

      public ClientJwtValidator()
  • Method Details