Uses of Class
com.couchbase.client.core.env.PasswordAuthenticator.Builder
Package | Description |
---|---|
com.couchbase.client.core.env |
-
Uses of PasswordAuthenticator.Builder in com.couchbase.client.core.env
Methods in com.couchbase.client.core.env that return PasswordAuthenticator.Builder Modifier and Type Method Description PasswordAuthenticator.Builder
PasswordAuthenticator.Builder. allowedSaslMechanisms(Set<SaslMechanism> allowedSaslMechanisms)
Allows to set a list of allowed SASL mechanisms for the NON-TLS connections.static PasswordAuthenticator.Builder
PasswordAuthenticator. builder()
Creates a newPasswordAuthenticator.Builder
which allows to customize this authenticator.PasswordAuthenticator.Builder
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
PasswordAuthenticator.Builder. onlyEnablePlainSaslMechanism()
This method will ONLY enable the PLAIN SASL mechanism (useful for LDAP enabled environments).PasswordAuthenticator.Builder
PasswordAuthenticator.Builder. password(String password)
Specifies a static password that will be used for all authentication purposes.PasswordAuthenticator.Builder
PasswordAuthenticator.Builder. password(Supplier<String> password)
Specifies a dynamic password that will be used for all authentication purposes.PasswordAuthenticator.Builder
PasswordAuthenticator.Builder. username(String username)
Specifies a static username that will be used for all authentication purposes.PasswordAuthenticator.Builder
PasswordAuthenticator.Builder. username(Supplier<String> username)
Specifies a dynamic username that will be used for all authentication purposes.