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()
Creates a newPasswordAuthenticator.Builder
which allows to customize this authenticator.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).Specifies a static password that will be used for all authentication purposes.Specifies a dynamic password that will be used for all authentication purposes.Specifies a static username that will be used for all authentication purposes.Specifies a dynamic username that will be used for all authentication purposes.