Class TokenCertificateLoginCallbackHandler

java.lang.Object
io.confluent.kafka.clients.plugins.auth.token.AbstractTokenLoginCallbackHandler
io.confluent.kafka.clients.plugins.auth.token.TokenCertificateLoginCallbackHandler
All Implemented Interfaces:
CallbackHandler, org.apache.kafka.common.security.auth.AuthenticateCallbackHandler

public class TokenCertificateLoginCallbackHandler extends AbstractTokenLoginCallbackHandler
A CallbackHandler for the OAuthBearerLoginModule.

This supports Kafka clients to exchange certificate for MDS issued token

This class handles the certificate credential approach and can be configured as such.

  org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule Required
      metadataServerUrls="https://mds:8080"
 
This class should be explicitly set via the sasl.login.callback.handler.class configuration property