Class DefaultVitamApplicationConfiguration
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
-
- All Implemented Interfaces:
VitamApplicationConfiguration
,VitamApplicationConfigurationInterface
- Direct Known Subclasses:
AccessExternalConfiguration
,AccessInternalConfiguration
,DbConfigurationImpl
,DefaultVitamIHMApplicationConfiguration
,IngestExternalConfiguration
,IngestInternalConfiguration
,ServerConfiguration
,StorageConfiguration
,StorageConfiguration
,WorkerConfiguration
public abstract class DefaultVitamApplicationConfiguration extends java.lang.Object implements VitamApplicationConfiguration
Default minimal Vitam Application Configuration
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
IS_A_MANDATORY_PARAMETER
protected java.lang.String
jettyConfig
-
Constructor Summary
Constructors Constructor Description DefaultVitamApplicationConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BasicAuthModel>
getAdminBasicAuth()
getAdminBasicAuth.java.lang.String
getJettyConfig()
getter jettyConfigboolean
isAuthentication()
getter authenticationboolean
isAuthorizeTrackTotalHits()
boolean
isEnableSession()
boolean
isEnableXsrFilter()
boolean
isTenantFilter()
getter tenantFilterDefaultVitamApplicationConfiguration
setAdminBasicAuth(java.util.List<BasicAuthModel> adminBasicAuth)
setAdminBasicAuth.VitamApplicationConfiguration
setAuthentication(boolean authentication)
void
setAuthorizeTrackTotalHits(boolean authorizeTrackTotalHits)
void
setEnableSession(boolean enableSession)
void
setEnableXsrFilter(boolean enableXsrFilter)
VitamApplicationConfiguration
setJettyConfig(java.lang.String jettyConfig)
setter jettyConfigVitamApplicationConfiguration
setTenantFilter(boolean tenantFilter)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfigurationInterface
getBaseUri, getBaseUrl, getStaticContent, setBaseUri, setBaseUrl, setStaticContent
-
-
-
-
Field Detail
-
IS_A_MANDATORY_PARAMETER
protected static final java.lang.String IS_A_MANDATORY_PARAMETER
- See Also:
- Constant Field Values
-
jettyConfig
protected java.lang.String jettyConfig
-
-
Method Detail
-
getJettyConfig
public java.lang.String getJettyConfig()
Description copied from interface:VitamApplicationConfigurationInterface
getter jettyConfig- Specified by:
getJettyConfig
in interfaceVitamApplicationConfigurationInterface
- Returns:
- the Jetty config filename
-
setJettyConfig
public VitamApplicationConfiguration setJettyConfig(java.lang.String jettyConfig)
Description copied from interface:VitamApplicationConfigurationInterface
setter jettyConfig- Specified by:
setJettyConfig
in interfaceVitamApplicationConfigurationInterface
- Parameters:
jettyConfig
- the jetty config to set- Returns:
- this
-
isAuthentication
public boolean isAuthentication()
Description copied from interface:VitamApplicationConfigurationInterface
getter authentication- Specified by:
isAuthentication
in interfaceVitamApplicationConfigurationInterface
- Returns:
- the authentication
-
setAuthentication
public VitamApplicationConfiguration setAuthentication(boolean authentication)
- Specified by:
setAuthentication
in interfaceVitamApplicationConfigurationInterface
- Parameters:
authentication
- the authentication to set- Returns:
- this
-
isTenantFilter
public boolean isTenantFilter()
Description copied from interface:VitamApplicationConfigurationInterface
getter tenantFilter- Specified by:
isTenantFilter
in interfaceVitamApplicationConfigurationInterface
- Returns:
- the tenantFilter
-
setTenantFilter
public VitamApplicationConfiguration setTenantFilter(boolean tenantFilter)
- Specified by:
setTenantFilter
in interfaceVitamApplicationConfigurationInterface
- Parameters:
tenantFilter
- the tenantFilter to set- Returns:
- this
-
getAdminBasicAuth
public java.util.List<BasicAuthModel> getAdminBasicAuth()
getAdminBasicAuth.- Returns:
-
setAdminBasicAuth
public DefaultVitamApplicationConfiguration setAdminBasicAuth(java.util.List<BasicAuthModel> adminBasicAuth)
setAdminBasicAuth.- Parameters:
adminBasicAuth
-- Returns:
-
isEnableXsrFilter
public boolean isEnableXsrFilter()
- Specified by:
isEnableXsrFilter
in interfaceVitamApplicationConfiguration
-
setEnableXsrFilter
public void setEnableXsrFilter(boolean enableXsrFilter)
- Specified by:
setEnableXsrFilter
in interfaceVitamApplicationConfiguration
-
isEnableSession
public boolean isEnableSession()
- Specified by:
isEnableSession
in interfaceVitamApplicationConfiguration
-
setEnableSession
public void setEnableSession(boolean enableSession)
- Specified by:
setEnableSession
in interfaceVitamApplicationConfiguration
-
isAuthorizeTrackTotalHits
public boolean isAuthorizeTrackTotalHits()
-
setAuthorizeTrackTotalHits
public void setAuthorizeTrackTotalHits(boolean authorizeTrackTotalHits)
-
-