public static class PasswordAuthenticator.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PasswordAuthenticator.Builder |
allowedSaslMechanisms(Set<SaslMechanism> allowedSaslMechanisms)
Allows to set a list of allowed SASL mechanisms for the NON-TLS connections.
|
PasswordAuthenticator |
build() |
PasswordAuthenticator.Builder |
password(String password) |
PasswordAuthenticator.Builder |
password(Supplier<String> password) |
PasswordAuthenticator.Builder |
username(String username) |
PasswordAuthenticator.Builder |
username(Supplier<String> username) |
public PasswordAuthenticator.Builder username(String username)
public PasswordAuthenticator.Builder username(Supplier<String> username)
public PasswordAuthenticator.Builder password(String password)
public PasswordAuthenticator.Builder password(Supplier<String> password)
public PasswordAuthenticator.Builder allowedSaslMechanisms(Set<SaslMechanism> allowedSaslMechanisms)
allowedSaslMechanisms
- the list of allowed sasl mechs for non-tls connectionspublic PasswordAuthenticator build()
Copyright © 2020 Couchbase, Inc.. All rights reserved.