[java-identity-provider] branch master updated: Early injection of Santuario linebreak property.

Scott Cantor cantor.2 at osu.edu
Mon Aug 27 21:32:48 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=bd2880fc681a5fb9ea40206eb5700cebbfc0ec58

The following commit(s) were added to refs/heads/master by this push:
       new  bd2880f   Early injection of Santuario linebreak property.
bd2880f is described below

commit bd2880fc681a5fb9ea40206eb5700cebbfc0ec58
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Aug 27 21:32:28 2018 -0400

    Early injection of Santuario linebreak property.
---
 idp-conf/src/main/resources/system/conf/global-system.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/idp-conf/src/main/resources/system/conf/global-system.xml b/idp-conf/src/main/resources/system/conf/global-system.xml
index fad1842..e685188 100644
--- a/idp-conf/src/main/resources/system/conf/global-system.xml
+++ b/idp-conf/src/main/resources/system/conf/global-system.xml
@@ -50,8 +50,17 @@
     <import resource="general-admin-system.xml" />
     <import resource="utilities.xml" />
 
+    <bean id="systemPrereqs" class="org.springframework.beans.factory.config.MethodInvokingBean"
+            p:targetObject-ref="systemProperties" p:targetMethod="putAll">
+        <property name="arguments">
+            <props>
+                <prop key="org.apache.xml.security.ignoreLineBreaks">%{idp.apache.xml.security.ignoreLineBreaks:true}</prop>
+            </props>
+        </property>
+    </bean>
+
     <bean id="shibboleth.OpenSAMLConfig" class="net.shibboleth.idp.spring.OpenSAMLConfigBean"
-        depends-on="shibboleth.LoggingService,shibboleth.ParserPool,shibboleth.metrics.MetricRegistry"
+        depends-on="systemPrereqs,shibboleth.LoggingService"
         p:parserPool-ref="shibboleth.ParserPool"
         p:metricRegistry-ref="shibboleth.metrics.MetricRegistry" />
         

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list