META-INF.spring.opensaml-config.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util" xmlns:p="http://www.springframework.org/schema/p" xmlns:c="http://www.springframework.org/schema/c" xmlns:mvc="http://www.springframework.org/schema/mvc" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd"> <bean id="shibboleth.OpenSAMLConfig" class="org.jasig.cas.support.saml.OpenSamlConfigBean" depends-on="shibboleth.ParserPool"/> <bean id="shibboleth.ParserPool" class="net.shibboleth.utilities.java.support.xml.BasicParserPool" p:maxPoolSize="100" p:coalescing="true" p:ignoreComments="true" p:xincludeAware="false" p:expandEntityReferences="false" p:ignoreElementContentWhitespace="true" p:namespaceAware="true" init-method="initialize"> <property name="builderAttributes"> <map> <!-- Sun/Oracle is the default, for Xerces, set property to org.apache.xerces.util.SecurityManager --> <entry key="http://apache.org/xml/properties/security-manager"> <bean class="com.sun.org.apache.xerces.internal.util.SecurityManager"/> </entry> </map> </property> <property name="builderFeatures"> <map> <entry key="http://apache.org/xml/features/disallow-doctype-decl"> <util:constant static-field="java.lang.Boolean.TRUE"/> </entry> <entry key="http://apache.org/xml/features/validation/schema/normalized-value"> <util:constant static-field="java.lang.Boolean.FALSE"/> </entry> <entry key="http://javax.xml.XMLConstants/feature/secure-processing"> <util:constant static-field="java.lang.Boolean.TRUE"/> </entry> <entry key="http://xml.org/sax/features/external-general-entities"> <util:constant static-field="java.lang.Boolean.FALSE"/> </entry> <entry key="http://xml.org/sax/features/external-parameter-entities"> <util:constant static-field="java.lang.Boolean.FALSE"/> </entry> </map> </property> </bean> <bean id="shibboleth.BuilderFactory" factory-method="getBuilderFactory" class="org.opensaml.core.xml.config.XMLObjectProviderRegistrySupport" depends-on="shibboleth.OpenSAMLConfig"/> <bean id="shibboleth.MarshallerFactory" factory-method="getMarshallerFactory" class="org.opensaml.core.xml.config.XMLObjectProviderRegistrySupport" depends-on="shibboleth.OpenSAMLConfig"/> <bean id="shibboleth.UnmarshallerFactory" factory-method="getUnmarshallerFactory" class="org.opensaml.core.xml.config.XMLObjectProviderRegistrySupport" depends-on="shibboleth.OpenSAMLConfig"/> <bean id="validationAnnotationBeanPostProcessor" class="org.jasig.cas.util.CustomBeanValidationPostProcessor" p:afterInitialization="true"/> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy