You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Rajini Sivaram (JIRA)" <ji...@apache.org> on 2017/07/05 13:07:00 UTC

[jira] [Commented] (KAFKA-5500) it is impossible to have custom Login Modules for PLAIN SASL mechanism

    [ https://issues.apache.org/jira/browse/KAFKA-5500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074720#comment-16074720 ] 

Rajini Sivaram commented on KAFKA-5500:
---------------------------------------

Kafka's implementation of {{PlainLoginModule}} is tightly integrated with its implementation of {{PlainSaslServerProvider}} and {{PlainSaslServer}} (the server provider is loaded by the login module). At the moment, you can replace the whole server-side SASL/PLAIN implementation with your own implementation by replacing the three classes in {{org.apache.kafka.common.security.plain}} with your own implementation. As described in the docs (https://kafka.apache.org/documentation/#security_sasl_plain_production), the implementation in Kafka is provided as a sample and not suitable for use in production,

[KIP-86|https://cwiki.apache.org/confluence/display/KAFKA/KIP-86%3A+Configurable+SASL+callback+handlers] should improve customization.

> it is impossible to have custom Login Modules for PLAIN SASL mechanism
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-5500
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5500
>             Project: Kafka
>          Issue Type: Wish
>            Reporter: Anton Patrushev
>            Priority: Minor
>
> This change -
>  https://github.com/apache/kafka/commit/275c5e1df237808fe72b8d9933f826949d4b5781#diff-3e86ea3ab586f9b6f920c00508a0d5bcR95 - makes it impossible have login modules other than PlainLoginModule used for PLAIN SASL mechanism. Could it be changed the way that doesn't use particular login module class name?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)