You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "indira (Jira)" <ji...@apache.org> on 2020/05/07 04:16:00 UTC

[jira] [Created] (KAFKA-9967) SASL PLAIN authentication with custom callback handler

indira created KAFKA-9967:
-----------------------------

             Summary: SASL PLAIN authentication with custom callback handler
                 Key: KAFKA-9967
                 URL: https://issues.apache.org/jira/browse/KAFKA-9967
             Project: Kafka
          Issue Type: Bug
          Components: clients
    Affects Versions: 2.5.0
            Reporter: indira


I'm trying to add custom handler for SASL PLAN authentication. i have followed kafka document which says to add "listener.name.sasl_ssl.plain.sasl.server.callback.handler.class" with custom class name to server config.  but this custom class is never taken , its always going to default PlainServerCallbackHandler. 

On debuging the kafka-client code, observed that SaslChannelBuilder->createServerCallbackHandlers method is trying to read config property as "plain.sasl.server.callback.handler.class". which is different from the one mentioned in the doc.  i have changed the property name in my config file and tried, but still it did not work.

If there are any sample code explaining custom SASL authentication, it could help us. I could not find any proper sample code related to this topic.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)