Class DefaultJwtValidator

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

public class DefaultJwtValidator extends Object implements JwtValidator
This JwtValidator uses the delegation approach, instantiating and delegating calls to a more concrete implementation. The underlying implementation is determined by the presence/absence of the VerificationKeyResolver: if it's present, a BrokerJwtValidator is created, otherwise a ClientJwtValidator is created.
  • Constructor Details

    • DefaultJwtValidator

      public DefaultJwtValidator()
    • DefaultJwtValidator

      public DefaultJwtValidator(org.apache.kafka.common.security.oauthbearer.internals.secured.CloseableVerificationKeyResolver verificationKeyResolver)
  • Method Details