kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Menaka Madushanka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6426) Kafka SASL/SCRAM authentication does not fail for incorrect username or password.
Date Fri, 05 Jan 2018 09:56:00 GMT
Menaka Madushanka created KAFKA-6426:
----------------------------------------

             Summary: Kafka SASL/SCRAM authentication does not fail for incorrect username
or password.
                 Key: KAFKA-6426
                 URL: https://issues.apache.org/jira/browse/KAFKA-6426
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.10.2.1
         Environment: Ubuntu 16.04, JDK 1.8, Kafka_2.10-0.10.2.1
            Reporter: Menaka Madushanka
         Attachments: broker-jaas.conf, client-jaas.conf, consumer.properties, producer.properties,
server.properties

Hi,

I configured Kafka 0.10.2.1 for SASL/SCRAM by following the documentation [1]. 
But it does work when I use incorrect username or password in the client as well. 

I have attached the server.properties, consumer.properties, producer.properties, jass config
files for broker and client. 

Also, in my producer, I have set        
 {{props.put("sasl.mechanism", "SCRAM-SHA-256");}}

but when running, it shows,
{{kafka.utils.VerifiableProperties  - Property sasl.mechanism is not valid}}

[1] [https://kafka.apache.org/documentation/#security_sasl_scram|https://kafka.apache.org/documentation/#security_sasl_scram]

Thanks and Regards,
Menaka



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

Mime
View raw message