public abstract class ConfigurationProviderImpl extends Object implements at.gv.egovernment.moa.id.commons.api.ConfigurationProvider
AuthConfigurationProvider
and ProxyConfigurationProvider
,
providing functions common to both of them.Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROPERTY_NAME
The name of the system property which contains the file name of the
configuration file.
|
protected Properties |
configProp |
protected String |
defaultChainingMode
The default chaining mode.
|
static String |
DIRECTORY_CERTSTORE_PARAMETER_PROPERTY
The name of the generic configuration property giving the certstore directory path.
|
protected Map<String,String> |
genericConfiguration
A
Map which contains generic configuration information. |
static String |
PROXY_CONFIG_PROPERTY_NAME
The name of the system property which contains the file name of the
configuration file.
|
protected String |
rootConfigFileDir
main configuration file directory name used to configure MOA-ID
|
static String |
TRUST_MANAGER_REVOCATION_CHECKING
The name of the generic configuration property switching the ssl revocation checking on/off
|
Constructor and Description |
---|
ConfigurationProviderImpl()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
generateActiveProfiles(Properties props) |
String[] |
getActiveProfiles() |
Properties |
getDBConnectionConfiguration()
Get the DB configuration properties from MOA-ID-Auth configuration file
|
String |
getDefaultChainingMode() |
at.gv.util.config.EgovUtilPropertiesConfiguration |
geteGovUtilsConfig() |
String |
getRootConfigFileDir()
Returns the main configuration file directory used to configure MOA-ID
|
void |
initial(Properties props) |
public static final String CONFIG_PROPERTY_NAME
public static final String PROXY_CONFIG_PROPERTY_NAME
public static final String DIRECTORY_CERTSTORE_PARAMETER_PROPERTY
public static final String TRUST_MANAGER_REVOCATION_CHECKING
protected Map<String,String> genericConfiguration
Map
which contains generic configuration information. Maps a
configuration name (a String
) to a configuration value (also a
String
).protected String defaultChainingMode
protected String rootConfigFileDir
protected Properties configProp
public String getRootConfigFileDir()
getRootConfigFileDir
in interface at.gv.egovernment.moa.id.commons.api.ConfigurationProvider
public String getDefaultChainingMode()
getDefaultChainingMode
in interface at.gv.egovernment.moa.id.commons.api.ConfigurationProvider
public Properties getDBConnectionConfiguration()
public void initial(Properties props) throws at.gv.egovernment.moa.id.commons.api.exceptions.ConfigurationException, org.opensaml.xml.ConfigurationException
properties
- at.gv.egovernment.moa.id.commons.api.exceptions.ConfigurationException
org.opensaml.xml.ConfigurationException
public at.gv.util.config.EgovUtilPropertiesConfiguration geteGovUtilsConfig()
public void generateActiveProfiles(Properties props)
public String[] getActiveProfiles()
getActiveProfiles
in interface at.gv.egovernment.moa.id.commons.api.ConfigurationProvider
Copyright © 2017. All rights reserved.