Auth fails if TLS is enabled and Sasl.createSaslClient() does not support PLAIN

Description

Suggested Release Note:

It is now possible to authenticate over secure connections even if the JVM does not support the SASL PLAIN authentication mechanisms.

The SDK relies on the JVM to provide an implementation of SaslClient that supports the PLAIN auth mechanism.

Some JVMs in certain security modes refuse to return a client for PLAIN. This leads to an exception during auth:

To avoid this situation, we could provide our own SaslClient that implements PLAIN.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

David Nault February 2, 2023 at 5:05 PM

The solution we selected is to not force PLAIN over TLS connections unless the JVM supports SASL PLAIN. This may change in the future as we evaluate other use cases.

Unresolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created January 4, 2023 at 10:15 PM
Updated February 2, 2023 at 5:06 PM
Instabug