Interface DbConfiguration
- All Superinterfaces:
VitamApplicationConfiguration
,VitamApplicationConfigurationInterface
- All Known Implementing Classes:
AdminManagementConfiguration
,BatchReportConfiguration
,CollectInternalConfiguration
,DbConfigurationImpl
,InterceptorConfiguration
,InternalSecurityConfiguration
,LogbookConfiguration
,MetaDataConfiguration
,OfferConfiguration
,WebApplicationConfig
Defines minimal common configurations for database configuration properties.
Your configuration class must implement it whenever you use database configuration in your configuration file
Your configuration class must implement it whenever you use database configuration in your configuration file
-
Method Summary
Modifier and TypeMethodDescriptionMust return the value of a 'dbName' attributeMust return the value of a 'dbName' attributeMust return the value of a 'dbName' attributeMust return the value of a 'mongoDbNodes' attributeboolean
Must return the value of a 'dbName' attributeMethods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfiguration
isEnableSession, isEnableXsrFilter, setEnableSession, setEnableXsrFilter
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfigurationInterface
getBaseUri, getBaseUrl, getJettyConfig, isAuthentication, isTenantFilter, setAuthentication, setBaseUri, setBaseUrl, setJettyConfig, setTenantFilter
-
Method Details
-
getMongoDbNodes
List<MongoDbNode> getMongoDbNodes()Must return the value of a 'mongoDbNodes' attribute- Returns:
- the list of mongodb node which contains the dbHost and dbPort
-
getDbName
String getDbName()Must return the value of a 'dbName' attribute- Returns:
- the database host value
-
getDbUserName
String getDbUserName()Must return the value of a 'dbName' attribute- Returns:
- the database user name
-
getDbPassword
String getDbPassword()Must return the value of a 'dbName' attribute- Returns:
- the database user's password
-
isDbAuthentication
boolean isDbAuthentication()Must return the value of a 'dbName' attribute- Returns:
- boolean is autenticated or not
-