public class SaslHelper extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
platformHasSaslPlain()
Returns true iff
Sasl.createSaslClient(java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.util.Map<java.lang.String, ?>, javax.security.auth.callback.CallbackHandler) supports the PLAIN mechanism. |
public static boolean platformHasSaslPlain()
Sasl.createSaslClient(java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.util.Map<java.lang.String, ?>, javax.security.auth.callback.CallbackHandler)
supports the PLAIN mechanism.
PLAIN is always supported, unless the JVM runs in a restricted mode that prevents plaintext authentication.
We could easily provide our own SASL PLAIN implementation, but for now we're honoring the platform restriction.
Copyright © 2024 Couchbase, Inc.. All rights reserved.