public class DefaultBootstrap extends Object
修飾子 | コンストラクタと説明 |
---|---|
protected |
DefaultBootstrap()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static void |
bootstrap()
Initializes the OpenSAML library, loading default configurations.
|
protected static org.slf4j.Logger |
getLogger()
Get an SLF4J Logger.
|
protected static void |
initializeArtifactBuilderFactories()
Initializes the artifact factories for SAML 1 and SAML 2 artifacts.
|
protected static void |
initializeESAPI()
Initializes the OWASPI ESAPI library.
|
protected static void |
initializeGlobalSecurityConfiguration()
Initializes the default global security configuration.
|
protected static void |
initializeParserPool()
Initializes the default global parser pool instance.
|
protected static void |
initializeXMLSecurity()
Initializes the Apache XMLSecurity libary.
|
protected static void |
initializeXMLTooling()
Initializes the XMLTooling library with a default set of object providers.
|
protected static void |
initializeXMLTooling(String[] providerConfigs)
Initializes the XMLTooling library with an explicitly supplied set of object providers.
|
public static void bootstrap() throws ConfigurationException
ConfigurationException
- thrown if there is a problem initializing the OpenSAML libraryprotected static void initializeESAPI()
protected static void initializeParserPool() throws ConfigurationException
The ParserPool configured by default here is an instance of
StaticBasicParserPool
, with a maxPoolSize property of 50
and all other properties with default values.
If a deployment wishes to use a different parser pool implementation,
or one configured with different characteristics, they may either override this method,
or simply configure a different ParserPool after bootstrapping via
Configuration.setParserPool(org.opensaml.xml.parse.ParserPool)
.
ConfigurationException
- thrown if there is a problem initializing the parser poolprotected static void initializeGlobalSecurityConfiguration()
protected static void initializeXMLSecurity() throws ConfigurationException
ConfigurationException
- thrown is there is a problem initializing the libraryprotected static void initializeXMLTooling() throws ConfigurationException
ConfigurationException
- thrown if there is a problem loading the configuration filesprotected static void initializeXMLTooling(String[] providerConfigs) throws ConfigurationException
providerConfigs
- list of provider configuration files located on the classpathConfigurationException
- thrown if there is a problem loading the configuration filesprotected static void initializeArtifactBuilderFactories() throws ConfigurationException
ConfigurationException
- thrown if there is a problem initializing the artifact factoryprotected static org.slf4j.Logger getLogger()
Copyright © 2012. All Rights Reserved.