[java-identity-provider] branch maint-4 updated: IDP-2050 - Support auto-throwing EntityResolver in default ParserPool

Scott Cantor cantor.2 at osu.edu
Thu Dec 8 19:32:33 UTC 2022


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

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

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

The following commit(s) were added to refs/heads/maint-4 by this push:
     new 6bbcbe60e IDP-2050 - Support auto-throwing EntityResolver in default ParserPool
6bbcbe60e is described below

commit 6bbcbe60efdc6e85e8aecd58e15dbb774bf0f97a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 8 14:32:30 2022 -0500

    IDP-2050 - Support auto-throwing EntityResolver in default ParserPool
    
    https://shibboleth.atlassian.net/browse/IDP-2050
    
    Added property-based injection, defaulting off for now.
---
 .../src/main/resources/net/shibboleth/idp/conf/global-system.xml      | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/global-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/global-system.xml
index f3693f1b4..eca76c191 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/global-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/global-system.xml
@@ -138,6 +138,7 @@
             p:ignoreComments="true"
             p:ignoreElementContentWhitespace="true"
             p:namespaceAware="true"
+            p:entityResolver="#{%{idp.xml.strictEntityResolution:false} ? getObject('shibboleth.ThrowingEntityResolver') : null}"
             p:securityManagerAttributeName="http://apache.org/xml/properties/security-manager">
         <property name="builderFeatures">
             <map>
@@ -153,6 +154,9 @@
             </map>
         </property>
     </bean>
+    
+    <bean id="shibboleth.ThrowingEntityResolver"
+        class="net.shibboleth.utilities.java.support.xml.ThrowingEntityResolver" lazy-init="true" />
 
     <!--  Bean used by the SchemaValidation metadata filter and anything else doing basic schema validation. -->
     <bean id="shibboleth.SchemaBuilder" lazy-init="true"

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


More information about the commits mailing list