org.apache.ws.security.saml.ext
Class OpenSAMLBootstrap

java.lang.Object
  extended by org.opensaml.DefaultBootstrap
      extended by org.apache.ws.security.saml.ext.OpenSAMLBootstrap

public class OpenSAMLBootstrap
extends org.opensaml.DefaultBootstrap

This class intializes the Opensaml library. It is necessary to override DefaultBootstrap to avoid instantiating Velocity, which we do not need in WSS4J.


Constructor Summary
OpenSAMLBootstrap()
           
 
Method Summary
static void bootstrap()
          Initializes the OpenSAML library, loading default configurations.
protected static void initializeParserPool()
           
protected static void initializeXMLTooling(String[] providerConfigs)
           
 
Methods inherited from class org.opensaml.DefaultBootstrap
getLogger, initializeArtifactBuilderFactories, initializeESAPI, initializeGlobalSecurityConfiguration, initializeVelocity, initializeXMLSecurity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenSAMLBootstrap

public OpenSAMLBootstrap()
Method Detail

bootstrap

public static void bootstrap()
                      throws org.opensaml.xml.ConfigurationException
Initializes the OpenSAML library, loading default configurations.

Throws:
org.opensaml.xml.ConfigurationException - thrown if there is a problem initializing the OpenSAML library

initializeXMLTooling

protected static void initializeXMLTooling(String[] providerConfigs)
                                    throws org.opensaml.xml.ConfigurationException
Throws:
org.opensaml.xml.ConfigurationException

initializeParserPool

protected static void initializeParserPool()
                                    throws org.opensaml.xml.ConfigurationException
Throws:
org.opensaml.xml.ConfigurationException


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.