Questions tagged [sasl]

SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.

424 questions
2
votes
1 answer

SASL stores progress report despite {errlog_type, error}

With this config file: [ {gmcontroller, [{config_file, "/mware/config/controller.config"}]}, %% SASL config {sasl, [ {sasl_error_logger, false}, {errlog_type, error}, {error_logger_mf_dir, "log/sasl"}, % Log…
Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487
2
votes
0 answers

How to use keycloak authentication for ejb remote client with wildfly elytron security?

I've some web application which authenticates on Keycloak and call EJBs. The security in Wildfly is configured with Elytron and the security context is propagated correctly between web and EJB. Now I've to write a java client (desktop application)…
2
votes
2 answers

What is the status of SASL on macOS in 2019?

I have a linux application I am trying to compile on macOS. It relies on Cyrus SASL library. During compilation I get deprecation warnings related to SASL, but the app compiles and seems to…
user7610
  • 25,267
  • 15
  • 124
  • 150
2
votes
1 answer

Kafka SASL configuration: Is it possible to enable it for only clients

What I want to do is enable SASL Authentication only for client to broker communication and not for Broker to Broker Broker to Zookeeper Is it possible to do so? If yes how can I achieve it. I have followed various links and offical kafka doc as…
Tushar H
  • 755
  • 11
  • 29
2
votes
0 answers

Testsaslauthd: Connect() connection refused in Ubuntu machine

I am trying to test saslauthd for mongodb in ubuntu machine. Executed the following cmd: testsaslauthd -u "xxx" -p "xxx" -f /var/run/saslauthd/mux/ It shows as follows:0: No "authentication failed" Please let me know how to resolve this.Thanks in…
mRhNs13
  • 479
  • 5
  • 25
2
votes
4 answers

Zoo keeper SASL security

I'm using zookeeper 3.4.12 version and when trying to enable SASL found below error. Can someone help on this. Client { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true storeKey=true useTicketCache=true …
Satya_1
  • 141
  • 1
  • 2
  • 7
2
votes
2 answers

Kafka SASL Authentication mechanism using OAuthBearer?

Can anyone help me to write JAAS conf files and Handler classes for Authentication using SASL/OAUTHBEARER? And also what is the meaning of this option in JAAS file which is configured in kafka documentation? unsecuredLoginStringClaim_sub="admin";
Ashok Kuramdasu
  • 313
  • 4
  • 15
2
votes
1 answer

Add PLAIN to the list of accepted SASL mechanisms of Apache Qpid Broker-J

I'm trying to connect to a locally running instance of Apache Qpid Broker-J using AMQP.Net Lite, which supports only ANONYMOUS, PLAIN and EXTERNAL SASL mechanisms. The broker rejects connection requests as it demands one of the following mechanisms:…
Alexey
  • 1,354
  • 13
  • 30
2
votes
1 answer

Kafka-Spark Batch Streaming: WARN clients.NetworkClient: Bootstrap broker disconnected

I am trying to write the rows of a Dataframe into a Kafka topic. The kafka cluster is Kerberized and I am providing the jaas.conf in the --conf arguments to be able to authenticate and connect to the cluster. Below is my code: object app { val…
Hemanth
  • 705
  • 2
  • 16
  • 32
2
votes
2 answers

Connect to Azure IotHub using MQTT in Javascript

I keep getting back Connection refused: Not authorized when trying to connect to the Azure IotHub using MQTT.js (https://github.com/mqttjs/MQTT.js). The SAS password is generated using Microsoft Device Explorer…
TPPZ
  • 4,447
  • 10
  • 61
  • 106
2
votes
1 answer

Sasl with android

Why import javax.security.sasl.Sasl; does not work with android ????
Amer
  • 69
  • 6
2
votes
1 answer

Running setup.py install for sasl ... error

when I try to install sasl on my python3.6 in Windows10, I got an error. I hava tried the best answer in: Unable to install sasl-0.1.3 python package on windows machine It still does not work.Maybe cause of the version of python or environment of…
edcSam
  • 97
  • 1
  • 13
2
votes
0 answers

Error when sending message to topic test with key: null, value: 9 bytes with error: Failed to update metadata after 60000 ms

In our company we are trying to setup 3node Kafka cluster with SSL encryption and SASL/Kerberos authentication. Below is what I have done. broker1, broker2, broker3 are my hostnames for 3 kafka servers and "kerberosServer" is the hostname of…
2
votes
2 answers

docker-compose wurstmeister/kafka failing to parse KAFKA_OPTS

I have a basic docker-compose file file for wurstmeister/kafka I'm trying to configure it to use SASL_PLAIN with SSL However I keep getting this error no matter how many ways I try to specify my jaas file This is the error I get [2018-04-11…
jimgug
  • 165
  • 3
  • 10
2
votes
2 answers

Kafka Console Consumer on Kerberized Cluster : KRBError : Additional pre-authentication required, Server not found in Kerberos database

Please help me to fix some exceptions while connecting to Kafka broker in a kerberized cluster. I am running Kafka in version 3.0.0-1 on a Cloudera cluster. Kafka was installed as service from Cloudera Manager (CM). Brokers started fine. I'm able…
ValaravausBlack
  • 691
  • 5
  • 12