Package org.pac4j.saml.util
Class Configuration
- java.lang.Object
-
- org.pac4j.saml.util.Configuration
-
public final class Configuration extends Object
OpenSAML configuration bean to bootstrap the parser pool. Uses the Java service API to find an instance ofConfigurationManagerto do the actual configuration. Will use the implementation with the lowestPriorityannotation. If none are found, a relatively sane implementation,DefaultConfigurationManager, will be used. The default priority is 100.- Since:
- 1.7
- Author:
- Misagh Moayyed
- See Also:
ServiceLoader
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlogger
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<org.opensaml.core.xml.XMLObject>deserializeSamlObject(String obj)static org.opensaml.core.xml.XMLObjectBuilderFactorygetBuilderFactory()static org.opensaml.core.xml.io.MarshallerFactorygetMarshallerFactory()static net.shibboleth.utilities.java.support.xml.ParserPoolgetParserPool()static org.opensaml.core.xml.io.UnmarshallerFactorygetUnmarshallerFactory()static StringWriterserializeSamlObject(org.opensaml.core.xml.XMLObject samlObject)
-
-
-
Method Detail
-
getParserPool
public static net.shibboleth.utilities.java.support.xml.ParserPool getParserPool()
-
getBuilderFactory
public static org.opensaml.core.xml.XMLObjectBuilderFactory getBuilderFactory()
-
getMarshallerFactory
public static org.opensaml.core.xml.io.MarshallerFactory getMarshallerFactory()
-
getUnmarshallerFactory
public static org.opensaml.core.xml.io.UnmarshallerFactory getUnmarshallerFactory()
-
serializeSamlObject
public static StringWriter serializeSamlObject(org.opensaml.core.xml.XMLObject samlObject)
-
-