Class IdmLightConfig

java.lang.Object
org.opendaylight.aaa.datastore.h2.IdmLightConfig

@Immutable public abstract class IdmLightConfig extends Object
Responsible for providing configuration properties for the IDMLight/H2 data store implementation.
Author:
peter.mellquist@hp.com - Initial contribution, Michael Vorburger.ch - Made it configurable, as Immutable with a Builder
  • Constructor Details

    • IdmLightConfig

      public IdmLightConfig()
  • Method Details

    • getDbName

      @Default public String getDbName()
      The filename for the H2 database file.
      Returns:
      data base name
    • getDbDirectory

      @Default public String getDbDirectory()
      The database directory for the h2 database file. Either absolute or relative to KARAF_HOME.
      Returns:
      data base dir
    • getDbDriver

      @Default public String getDbDriver()
      The database JDBC driver, default is H2; a pure-java implementation.
      Returns:
      data base driver
    • getDbUser

      public abstract String getDbUser()
      The database username. This is not the same as AAA credentials!
      Returns:
      data base user
    • getDbPwd

      public abstract String getDbPwd()
      The database password. This is not the same as AAA credentials!
      Returns:
      data base password
    • getDbValidTimeOut

      @Default public int getDbValidTimeOut()
      Timeout for database connections in seconds.
      Returns:
      data base valid time out
    • getDbConnectionStringPrefix

      @Default public String getDbConnectionStringPrefix()
      The JDBC default connection string.
      Returns:
      data base connection prefix
    • getDbConnectionString

      @Default public String getDbConnectionString()
      The JDBC database connection string.
      Returns:
      data base connection
    • toString

      public final String toString()
      Overrides:
      toString in class Object