Interface SaslCredentialsProvider
-
public interface SaslCredentialsProviderInterface 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 java.security.PrincipallocalPrincipal()default java.util.Map<java.lang.String,java.lang.Object>options()java.lang.Stringpassword()java.lang.Stringusername()java.lang.Stringvhost()
-
-
-
Method Detail
-
vhost
java.lang.String vhost()
- Returns:
- the virtual host value to use when performing SASL authentication.
-
username
java.lang.String username()
- Returns:
- the user name value to use when performing SASL authentication.
-
password
java.lang.String password()
- Returns:
- the password value to use when performing SASL authentication.
-
localPrincipal
java.security.Principal localPrincipal()
- Returns:
- the local principal value to use when performing SASL authentication.
-
options
default java.util.Map<java.lang.String,java.lang.Object> options()
- Returns:
- a
Mapof optional values to use when performing SASL authentication.
-
-