Interface SaslCredentialsProvider
-
public interface SaslCredentialsProvider
Interface for a supplier of login credentials used by the SASL Authenticator to select and configure the client SASL mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Principal
localPrincipal()
default Map<String,Object>
options()
String
password()
String
username()
String
vhost()
-
-
-
Method Detail
-
vhost
String vhost()
- Returns:
- the virtual host value to use when performing SASL authentication.
-
username
String username()
- Returns:
- the user name value to use when performing SASL authentication.
-
password
String password()
- Returns:
- the password value to use when performing SASL authentication.
-
localPrincipal
Principal localPrincipal()
- Returns:
- the local principal value to use when performing SASL authentication.
-
-