Class OAuthBearerValidatorCallbackHandlerTest.NoOpVerifyingJwtValidator

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

public static class OAuthBearerValidatorCallbackHandlerTest.NoOpVerifyingJwtValidator extends Object implements org.apache.kafka.common.security.oauthbearer.JwtValidator
Stand-in for a custom operator-supplied JwtValidator, used to verify that the startup configuration check does not apply when a non-default validator class is set.
  • Field Summary

    Fields inherited from interface org.apache.kafka.common.security.oauthbearer.JwtValidator

    IAT_CLAIM_REQUIRED, JTI_CLAIM_REQUIRED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(Map<String,?> configs, String saslMechanism, List<AppConfigurationEntry> jaasConfigEntries)
     
    org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
    validate(String accessToken)
     

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerConfigurable

    close
  • Constructor Details

    • NoOpVerifyingJwtValidator

      public NoOpVerifyingJwtValidator()
  • Method Details

    • configure

      public void configure(Map<String,?> configs, String saslMechanism, List<AppConfigurationEntry> jaasConfigEntries)
      Specified by:
      configure in interface org.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerConfigurable
    • validate

      public org.apache.kafka.common.security.oauthbearer.OAuthBearerToken validate(String accessToken)
      Specified by:
      validate in interface org.apache.kafka.common.security.oauthbearer.JwtValidator