public class ConfigurationProvider extends Object
AuthConfigurationProvider and ProxyConfigurationProvider,
providing functions common to both of them.| Modifier and Type | Field and Description |
|---|---|
protected Map |
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 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 |
genericConfiguration
A
Map which contains generic configuration information. |
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
|
| Constructor and Description |
|---|
ConfigurationProvider()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getChainingMode(X509Certificate trustAnchor)
Return the chaining mode for a given trust anchor.
|
Map |
getGenericConfiguration()
Returns the mapping of generic configuration properties.
|
String |
getGenericConfigurationParameter(String parameter)
Returns the value of a parameter from the generic configuration section.
|
String |
getRootConfigFileDir()
Returns the main configuration file directory used to configure MOA-ID
|
String |
getTrustedCACertificates()
Returns the trustedCACertificates.
|
public static final String CONFIG_PROPERTY_NAME
public static final String DIRECTORY_CERTSTORE_PARAMETER_PROPERTY
public static final String TRUST_MANAGER_REVOCATION_CHECKING
protected Map 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 chainingModes
Map which contains the IssuerAndSerial to
chaining mode (a String) mapping.protected String trustedCACertificates
protected String rootConfigFileDir
public String getRootConfigFileDir()
public Map getGenericConfiguration()
public String getGenericConfigurationParameter(String parameter)
null if no such parameterpublic String getChainingMode(X509Certificate trustAnchor)
trustAnchor - The trust anchor for which the chaining mode should be
returned.public String getTrustedCACertificates()
Copyright © 2016. All Rights Reserved.