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() |
|
PasswordAuthenticator.Builder |
PasswordAuthenticator.Builder.enablePlainSaslMechanism() |
|
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.
|