Class IdmLightConfig
java.lang.Object
org.opendaylight.aaa.datastore.h2.IdmLightConfig
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe JDBC database connection string.The JDBC default connection string.The database directory for the h2 database file.The database JDBC driver, default is H2; a pure-java implementation.The filename for the H2 database file.abstract StringgetDbPwd()The database password.abstract StringThe database username.intTimeout for database connections in seconds.final StringtoString()
-
Constructor Details
-
IdmLightConfig
public IdmLightConfig()
-
-
Method Details
-
getDbName
The filename for the H2 database file.- Returns:
- data base name
-
getDbDirectory
The database directory for the h2 database file. Either absolute or relative to KARAF_HOME.- Returns:
- data base dir
-
getDbDriver
The database JDBC driver, default is H2; a pure-java implementation.- Returns:
- data base driver
-
getDbUser
The database username. This is not the same as AAA credentials!- Returns:
- data base user
-
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
The JDBC default connection string.- Returns:
- data base connection prefix
-
getDbConnectionString
The JDBC database connection string.- Returns:
- data base connection
-
toString
-