|
||||||||||
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.
Field Summary | |
---|---|
private static org.joda.time.format.DateTimeFormatter |
dateFormatter
Formatter used to write dates. |
private static String |
defaultDateFormat
Date format in SAML object, default is yyyy-MM-dd'T'HH:mm:ss.SSS'Z'. |
private static SAML1ArtifactBuilderFactory |
saml1ArtifactBuilderFactory
SAML 1 Artifact factory. |
private static SAML2ArtifactBuilderFactory |
saml2ArtifactBuilderFactory
SAML 2 Artifact factory. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static String defaultDateFormat
private static org.joda.time.format.DateTimeFormatter dateFormatter
private static SAML1ArtifactBuilderFactory saml1ArtifactBuilderFactory
private static SAML2ArtifactBuilderFactory saml2ArtifactBuilderFactory
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 |