[java-identity-provider] branch main updated: IDP-2050 - Support auto-throwing EntityResolver in default ParserPool
Scott Cantor
cantor.2 at osu.edu
Thu Dec 8 19:35:44 UTC 2022
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=487cd56f40bbe272e8cb5add1e6c5639122f14c1
The following commit(s) were added to refs/heads/main by this push:
new 487cd56f4 IDP-2050 - Support auto-throwing EntityResolver in default ParserPool
487cd56f4 is described below
commit 487cd56f40bbe272e8cb5add1e6c5639122f14c1
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 f959d3cd5..159ce9e3f 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
@@ -227,6 +227,7 @@
p:ignoreComments="true"
p:ignoreElementContentWhitespace="true"
p:namespaceAware="true"
+ p:entityResolver="#{%{idp.xml.strictEntityResolution:true} ? getObject('shibboleth.ThrowingEntityResolver') : null}"
p:securityManagerAttributeName="http://apache.org/xml/properties/security-manager">
<property name="builderFeatures">
<map>
@@ -242,6 +243,9 @@
</map>
</property>
</bean>
+
+ <bean id="shibboleth.ThrowingEntityResolver"
+ class="net.shibboleth.shared.xml.impl.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