Interface CredentialsProvider
- All Known Implementing Classes:
EnvCredentialsProvider
,HadoopCredentialsProvider
,PlainCredentialsProvider
,VaultCredentialsProvider
public interface CredentialsProvider
Provider of authentication credentials.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns map with authentication credentials.getUserCredentials
(String username) This method returns the credentials associated with a specific user.default void
setUserCredentials
(String username, String password, String queryUser)
-
Field Details
-
logger
static final org.slf4j.Logger logger
-
-
Method Details
-
getCredentials
Returns map with authentication credentials. Key is the credential name, for example"username"
and map value is corresponding credential value. -
getUserCredentials
This method returns the credentials associated with a specific user.- Parameters:
username
- The logged in username- Returns:
- A Map of the logged in user's credentials.
-
setUserCredentials
-