Class SaslHelper
java.lang.Object
com.couchbase.client.core.io.netty.kv.sasl.SaslHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returns true iffSasl.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.
-
Method Details
-
platformHasSaslPlain
public static boolean platformHasSaslPlain()Returns true iffSasl.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.
-