Interface IDBConnectionPasswordProvider


public interface IDBConnectionPasswordProvider
If the connection is created by using the configuration parameters (i.e. not using IDBConnectionProvider), then by default the password of the connection is read from configuration parameter "db_password". - Problem: the password of the connection needs to be stored in a configuration file, which might be some security risk.

In the configuration file you can define a class implementing this interface. At runtime one instance will be created per context name.

You need to configure this class in ccee_config.properties using parameter "db_connectionpasswordproviderclassname".
  • Method Details

    • getConnectionPassword

      String getConnectionPassword(String contextName)