[java-idp-plugin-metadatagen] 03/03: JMETAGEN-8 ParserPool declared in Spring file is unused

Codeberg noreply at shibboleth.net
Wed May 20 09:20:47 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-idp-plugin-metadatagen.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-metadatagen/commit/77e49de1abccbdbe0bd1f7bb63a4a037b5b109b3

commit 77e49de1abccbdbe0bd1f7bb63a4a037b5b109b3
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue May 19 20:30:05 2026 +0100

    JMETAGEN-8 ParserPool declared in Spring file is unused
    
    https://shibboleth.atlassian.net/browse/JMETAGEN-8
    
    Remove unused bean
---
 .../idp/plugin/metadatagen/conf/velocity.xml       | 26 +---------------------
 1 file changed, 1 insertion(+), 25 deletions(-)

diff --git a/metadatagen-impl/src/main/resources/net/shibboleth/idp/plugin/metadatagen/conf/velocity.xml b/metadatagen-impl/src/main/resources/net/shibboleth/idp/plugin/metadatagen/conf/velocity.xml
index 79af972..32936de 100644
--- a/metadatagen-impl/src/main/resources/net/shibboleth/idp/plugin/metadatagen/conf/velocity.xml
+++ b/metadatagen-impl/src/main/resources/net/shibboleth/idp/plugin/metadatagen/conf/velocity.xml
@@ -12,32 +12,8 @@
        default-init-method="initialize"
        default-destroy-method="destroy">
 
-    <bean id="shibboleth.OpenSAMLConfig" class="net.shibboleth.profile.spring.impl.OpenSAMLConfigBean"
-        p:parserPool-ref="shibboleth.DefaultParserPool" />
+    <bean id="shibboleth.OpenSAMLConfig" class="net.shibboleth.profile.spring.impl.OpenSAMLConfigBean" />
 
-    <bean id="shibboleth.DefaultParserPool" class="net.shibboleth.shared.xml.impl.BasicParserPool"
-            p:maxPoolSize="100"
-            p:coalescing="true"
-            p:ignoreComments="true"
-            p:ignoreElementContentWhitespace="true"
-            p:namespaceAware="true"
-            p:entityResolver-ref="shibboleth.ThrowingEntityResolver"
-            p:securityManagerAttributeName="http://apache.org/xml/properties/security-manager">
-        <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>
-            </map>
-        </property>
-    </bean>
-    
     <bean id="shibboleth.ThrowingEntityResolver"
         class="net.shibboleth.shared.xml.impl.ThrowingEntityResolver" />
 

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


More information about the commits mailing list