org.opensaml
Class Configuration

java.lang.Object
  extended by org.opensaml.xml.Configuration
      extended by org.opensaml.Configuration

public class Configuration
extends org.opensaml.xml.Configuration

OpenSAML configuration singleton. The library must be initialized with a set of configurations prior to usage. This is often done by invoking DefaultBootstrap.bootstrap() but may done in any manner so long as all the needed object providers and artifact factory are created and registered with the configuration.


Constructor Summary
Configuration()
           
 
Method Summary
static SAML1ArtifactBuilderFactory getSAML1ArtifactBuilderFactory()
          Gets the artifact factory for the library.
static SAML2ArtifactBuilderFactory getSAML2ArtifactBuilderFactory()
          Gets the artifact factory for the library.
static org.joda.time.format.DateTimeFormatter getSAMLDateFormatter()
          Gets the date format used to string'ify SAML's DateTime objects.
static void setSAML1ArtifactBuilderFactory(SAML1ArtifactBuilderFactory factory)
          Sets the artifact factory for the library.
static void setSAML2ArtifactBuilderFactory(SAML2ArtifactBuilderFactory factory)
          Sets the artifact factory for the library.
static void setSAMLDateFormat(String format)
          Sets the date format used to string'ify SAML's date/time objects.
 
Methods inherited from class org.opensaml.xml.Configuration
deregisterIDAttribute, deregisterObjectProvider, deregisterValidatorSuite, getBuilderFactory, getDefaultProviderQName, getGlobalSecurityConfiguration, getMarshallerFactory, getObjectProviderConfiguration, getParserPool, getUnmarshallerFactory, getValidatorSuite, getValidatorSuiteConfiguration, isIDAttribute, registerIDAttribute, registerObjectProvider, registerObjectProvider, registerValidatorSuite, registerValidatorSuite, setGlobalSecurityConfiguration, setParserPool, validateJCEProviders, validateNonSunJAXP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Method Detail

getSAMLDateFormatter

public static org.joda.time.format.DateTimeFormatter getSAMLDateFormatter()
Gets the date format used to string'ify SAML's DateTime objects.

Returns:
date format used to string'ify date objects

setSAMLDateFormat

public static void setSAMLDateFormat(String format)
Sets the date format used to string'ify SAML's date/time objects. See the SimpleDateFormat documentation for format syntax.

Parameters:
format - date format used to string'ify date objects

getSAML1ArtifactBuilderFactory

public static SAML1ArtifactBuilderFactory getSAML1ArtifactBuilderFactory()
Gets the artifact factory for the library.

Returns:
artifact factory for the library

setSAML1ArtifactBuilderFactory

public static void setSAML1ArtifactBuilderFactory(SAML1ArtifactBuilderFactory factory)
Sets the artifact factory for the library.

Parameters:
factory - artifact factory for the library

getSAML2ArtifactBuilderFactory

public static SAML2ArtifactBuilderFactory getSAML2ArtifactBuilderFactory()
Gets the artifact factory for the library.

Returns:
artifact factory for the library

setSAML2ArtifactBuilderFactory

public static void setSAML2ArtifactBuilderFactory(SAML2ArtifactBuilderFactory factory)
Sets the artifact factory for the library.

Parameters:
factory - artifact factory for the library


Copyright © 2006-2011 Internet2. All Rights Reserved.