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
- 
Method Details- 
vhostString vhost()- Returns:
- the virtual host value to use when performing SASL authentication.
 
- 
usernameString username()- Returns:
- the user name value to use when performing SASL authentication.
 
- 
passwordString password()- Returns:
- the password value to use when performing SASL authentication.
 
- 
localPrincipalPrincipal localPrincipal()Returns the local principal for use in SASL authentication which is generally provided by the IO layer (TLS). This method can return null if there is no localPrincipalin use.- Returns:
- the local principal value to use when performing SASL authentication.
 
- 
options- Returns:
- a Mapof optional values to use when performing SASL authentication.
 
 
-