Uses of Class
com.couchbase.client.core.env.PasswordAuthenticator.Builder
-
Uses of PasswordAuthenticator.Builder in com.couchbase.client.core.env
Modifier and TypeMethodDescriptionPasswordAuthenticator.Builder.allowedSaslMechanisms
(Set<SaslMechanism> allowedSaslMechanisms) Allows to set a list of allowed SASL mechanisms for the NON-TLS connections.PasswordAuthenticator.builder()
Deprecated.Please use one of the "See Also" methods instead, to ensure all required builder properties are set.Creates a builder for an authenticator that uses the given credentials.PasswordAuthenticator.builder
(Supplier<UsernameAndPassword> supplier) Creates a builder for an authenticator that uses dynamic credentials.PasswordAuthenticator.Builder.enablePlainSaslMechanism()
This method acts as a shortcut toallowedSaslMechanisms(Set)
which addsSaslMechanism.PLAIN
to the allowed mechanism list for NON TLS connections.PasswordAuthenticator.Builder.onlyEnablePlainSaslMechanism()
This method will ONLY enable the PLAIN SASL mechanism (useful for LDAP enabled environments).Deprecated.Please specify the password when creating the builder, using one of the "See Also" methods.Deprecated.This method does not support returning username and password as an atomic unit.Deprecated.Please specify the username when creating the builder, using one of the "See Also" methods.Deprecated.This method does not support returning username and password as an atomic unit.