Interface DatabaseAuthenticationProvider
- All Known Implementing Classes:
AwsRdsDatabaseAuthenticationProvider
public interface DatabaseAuthenticationProvider
Database authentication provider is the main interface responsible for all implementation that requires additional
authentication steps required by the database in order to authorize a user to be able to operate on it.
For example if a jdbc url requires to retrieve and authorized token this interface shall be implemented to retrieve the token.
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String jdbcUrl, String username, String password) Authenticate a user for the given jdbc url.
-
Method Details
-
authenticate
Authenticate a user for the given jdbc url.- Returns:
- authorization token
-