| 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()
Deprecated.
Please use one of the "See Also" methods instead,
to ensure all required builder properties are set.
|
static PasswordAuthenticator.Builder |
PasswordAuthenticator.builder(String username,
String password)
Creates a builder for an authenticator that uses the given credentials.
|
static PasswordAuthenticator.Builder |
PasswordAuthenticator.builder(Supplier<UsernameAndPassword> supplier)
Creates a builder for an authenticator that uses dynamic credentials.
|
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)
Deprecated.
Please specify the password when creating the builder,
using one of the "See Also" methods.
|
PasswordAuthenticator.Builder |
PasswordAuthenticator.Builder.password(Supplier<String> password)
Deprecated.
This method does not support returning username and password as an atomic unit.
Please use
PasswordAuthenticator.builder(Supplier) instead. |
PasswordAuthenticator.Builder |
PasswordAuthenticator.Builder.username(String username)
Deprecated.
Please specify the username when creating the builder,
using one of the "See Also" methods.
|
PasswordAuthenticator.Builder |
PasswordAuthenticator.Builder.username(Supplier<String> username)
Deprecated.
This method does not support returning username and password as an atomic unit.
Please use
PasswordAuthenticator.builder(Supplier) instead. |
Copyright © 2024 Couchbase, Inc.. All rights reserved.