Package org.pac4j.saml.util
Class Configuration
java.lang.Object
org.pac4j.saml.util.Configuration
OpenSAML configuration bean to bootstrap the parser pool.
Uses the Java service API to find an instance of
ConfigurationManager
to do the actual configuration. Will
use the implementation with the lowest javax|jakarta.annotation.Priority annotation. 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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<org.opensaml.core.xml.XMLObject>
deserializeSamlObject.static org.opensaml.core.xml.XMLObjectBuilderFactory
getBuilderFactory.static org.opensaml.core.xml.io.MarshallerFactory
getMarshallerFactory.static net.shibboleth.shared.xml.ParserPool
getParserPool.static org.opensaml.core.xml.io.UnmarshallerFactory
getUnmarshallerFactory.static StringWriter
serializeSamlObject
(org.opensaml.core.xml.XMLObject samlObject) serializeSamlObject.
-
Method Details
-
getParserPool
public static net.shibboleth.shared.xml.ParserPool getParserPool()getParserPool.
- Returns:
- a
ParserPool
object
-
getBuilderFactory
public static org.opensaml.core.xml.XMLObjectBuilderFactory getBuilderFactory()getBuilderFactory.
- Returns:
- a
XMLObjectBuilderFactory
object
-
getMarshallerFactory
public static org.opensaml.core.xml.io.MarshallerFactory getMarshallerFactory()getMarshallerFactory.
- Returns:
- a
MarshallerFactory
object
-
getUnmarshallerFactory
public static org.opensaml.core.xml.io.UnmarshallerFactory getUnmarshallerFactory()getUnmarshallerFactory.
- Returns:
- a
UnmarshallerFactory
object
-
serializeSamlObject
serializeSamlObject.
- Parameters:
samlObject
- aXMLObject
object- Returns:
- a
StringWriter
object
-
deserializeSamlObject
deserializeSamlObject.
-