|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.Configuration org.opensaml.Configuration
public class 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 |
---|
public Configuration()
Method Detail |
---|
public static org.joda.time.format.DateTimeFormatter getSAMLDateFormatter()
DateTime
objects.
public static void setSAMLDateFormat(String format)
format
- date format used to string'ify date objectspublic static SAML1ArtifactBuilderFactory getSAML1ArtifactBuilderFactory()
public static void setSAML1ArtifactBuilderFactory(SAML1ArtifactBuilderFactory factory)
factory
- artifact factory for the librarypublic static SAML2ArtifactBuilderFactory getSAML2ArtifactBuilderFactory()
public static void setSAML2ArtifactBuilderFactory(SAML2ArtifactBuilderFactory factory)
factory
- artifact factory for the library
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |