Package com.zaxxer.hikari
Interface HikariCredentialsProvider
-
public interface HikariCredentialsProviderUsers can implement this interface to provide credentials for HikariCP. This is useful when credentials need to be dynamically generated or retrieved at runtime, rather than being hardcoded in the configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CredentialsgetCredentials()This method is called to retrieve the credentials for HikariCP.
-
-
-
Method Detail
-
getCredentials
Credentials getCredentials()
This method is called to retrieve the credentials for HikariCP.- Returns:
- a
Credentialsobject containing the username and password
-
-