Package | Description |
---|---|
com.couchbase.client.core.env |
Modifier and Type | Method and 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 new
PasswordAuthenticator.Builder which allows to customize this authenticator. |
PasswordAuthenticator.Builder |
PasswordAuthenticator.Builder.enablePlainSaslMechanism()
This method acts as a shortcut to
allowedSaslMechanisms(Set) which adds SaslMechanism.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.
|
Copyright © 2020 Couchbase, Inc.. All rights reserved.