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 |
|---|---|
protected String |
certstoreDirectory |
protected Map<IssuerAndSerial,String> |
chainingModes
A
Map which contains the IssuerAndSerial to
chaining mode (a String) mapping. |
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
|
protected String |
trustedCACertificates
the URL for the trusted CA Certificates
|
protected boolean |
trustmanagerrevoationchecking |
| Constructor and Description |
|---|
ConfigurationProviderImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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 Map<IssuerAndSerial,String> chainingModes
Map which contains the IssuerAndSerial to
chaining mode (a String) mapping.protected String trustedCACertificates
protected String rootConfigFileDir
protected String certstoreDirectory
protected boolean trustmanagerrevoationchecking
protected Properties configProp
public String getRootConfigFileDir()
getRootConfigFileDir in interface at.gv.egovernment.moa.id.commons.api.ConfigurationProviderpublic String getDefaultChainingMode()
getDefaultChainingMode in interface at.gv.egovernment.moa.id.commons.api.ConfigurationProviderpublic 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.ConfigurationExceptionorg.opensaml.xml.ConfigurationExceptionpublic at.gv.util.config.EgovUtilPropertiesConfiguration geteGovUtilsConfig()
Copyright © 2016. All rights reserved.