|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.DefaultBootstrap
public class DefaultBootstrap
This class can be used to bootstrap the OpenSAML library with the default configurations that ship with the library.
| Constructor Summary | |
|---|---|
protected |
DefaultBootstrap()
Constructor. |
| Method Summary | |
|---|---|
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 |
initializeVelocity()
Intializes the Apache Velocity template engine. |
protected static void |
initializeXMLSecurity()
Initializes the Apache XMLSecurity libary. |
protected static void |
initializeXMLTooling(java.lang.String[] providerConfigs)
Initializes the XMLTooling library with a default set of object providers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DefaultBootstrap()
| Method Detail |
|---|
public static void bootstrap()
throws org.opensaml.xml.ConfigurationException
org.opensaml.xml.ConfigurationException - thrown if there is a problem initializing the OpenSAML libraryprotected static void initializeESAPI()
protected static void initializeParserPool()
throws org.opensaml.xml.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).
org.opensaml.xml.ConfigurationException - thrown if there is a problem initializing the parser poolprotected static void initializeGlobalSecurityConfiguration()
protected static void initializeXMLSecurity()
throws org.opensaml.xml.ConfigurationException
org.opensaml.xml.ConfigurationException - thrown is there is a problem initializing the library
protected static void initializeVelocity()
throws org.opensaml.xml.ConfigurationException
org.opensaml.xml.ConfigurationException - thrown if there is a problem initializing Velocity
protected static void initializeXMLTooling(java.lang.String[] providerConfigs)
throws org.opensaml.xml.ConfigurationException
providerConfigs - list of provider configuration files located on the classpath
org.opensaml.xml.ConfigurationException - thrown if there is a problem loading the configuration files
protected static void initializeArtifactBuilderFactories()
throws org.opensaml.xml.ConfigurationException
org.opensaml.xml.ConfigurationException - thrown if there is a problem initializing the artifact factoryprotected static org.slf4j.Logger getLogger()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||