Class Configuration


  • public final class Configuration
    extends java.lang.Object
    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 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:
    ServiceLoader
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.slf4j.Logger logger  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<org.opensaml.core.xml.XMLObject> deserializeSamlObject​(java.lang.String obj)  
      static org.opensaml.core.xml.XMLObjectBuilderFactory getBuilderFactory()  
      static org.opensaml.core.xml.io.MarshallerFactory getMarshallerFactory()  
      static net.shibboleth.utilities.java.support.xml.ParserPool getParserPool()  
      static org.opensaml.core.xml.io.UnmarshallerFactory getUnmarshallerFactory()  
      static java.io.StringWriter serializeSamlObject​(org.opensaml.core.xml.XMLObject samlObject)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        protected static final org.slf4j.Logger logger
    • 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 java.io.StringWriter serializeSamlObject​(org.opensaml.core.xml.XMLObject samlObject)
      • deserializeSamlObject

        public static java.util.Optional<org.opensaml.core.xml.XMLObject> deserializeSamlObject​(java.lang.String obj)