Interface HikariCredentialsProvider


  • public interface HikariCredentialsProvider
    Users 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 Detail

      • getCredentials

        Credentials getCredentials()
        This method is called to retrieve the credentials for HikariCP.
        Returns:
        a Credentials object containing the username and password