[java-opensaml] branch main updated: JSSH-71 Remove the impact of the DestructableComponent Interface

Codeberg noreply at shibboleth.net
Thu Jul 23 18:19:25 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-opensaml.

View the commit online:
https://codeberg.org/Shibboleth/java-opensaml/commit/d344872113ec8d4f3deef42599c758814d4b1f24

The following commit(s) were added to refs/heads/main by this push:
     new d34487211 JSSH-71 Remove the impact of the DestructableComponent Interface
d34487211 is described below

commit d344872113ec8d4f3deef42599c758814d4b1f24
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Jul 23 19:20:24 2026 +0100

    JSSH-71 Remove the impact of the DestructableComponent Interface
    
    https://shibboleth.atlassian.net/browse/JSSH-71
    
    Remove non-required "default-destroy-method" from all test files.
---
 .../src/test/resources/org/opensaml/spring/credential/bean.xml      | 6 ++----
 .../spring/trust/static-pkix-factory-custom-failsValidation.xml     | 6 ++----
 .../opensaml/spring/trust/static-pkix-factory-custom-success.xml    | 6 ++----
 .../org/opensaml/spring/trust/static-pkix-factory-defaults.xml      | 6 ++----
 .../resources/org/opensaml/spring/trust/staticExplicitNative.xml    | 2 +-
 5 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/opensaml-spring/src/test/resources/org/opensaml/spring/credential/bean.xml b/opensaml-spring/src/test/resources/org/opensaml/spring/credential/bean.xml
index 9a2d0d2d2..1be58ece4 100644
--- a/opensaml-spring/src/test/resources/org/opensaml/spring/credential/bean.xml
+++ b/opensaml-spring/src/test/resources/org/opensaml/spring/credential/bean.xml
@@ -8,9 +8,7 @@
        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"
-                           
-       default-init-method="initialize"
-       default-destroy-method="destroy">
+       default-init-method="initialize">
 
     <bean id="Credential"
         class="org.opensaml.spring.credential.BasicX509CredentialFactoryBean"
@@ -25,4 +23,4 @@
         p:privateKeyPassword="pass"
         p:entityId="http://example.org/enc" />
         
-</beans>
\ No newline at end of file
+</beans>
diff --git a/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-custom-failsValidation.xml b/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-custom-failsValidation.xml
index 7f0823a8c..e5f3ac814 100644
--- a/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-custom-failsValidation.xml
+++ b/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-custom-failsValidation.xml
@@ -8,9 +8,7 @@
        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"
-                           
-       default-init-method="initialize"
-       default-destroy-method="destroy">
+       default-init-method="initialize">
 
     <bean id="StaticPKIXX509CredentialTrustEngine"
           class="org.opensaml.spring.trust.StaticPKIXFactoryBean">
@@ -31,4 +29,4 @@
         </property>
     </bean>
         
-</beans>
\ No newline at end of file
+</beans>
diff --git a/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-custom-success.xml b/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-custom-success.xml
index 22e93f04c..9dcb9de57 100644
--- a/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-custom-success.xml
+++ b/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-custom-success.xml
@@ -8,9 +8,7 @@
        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"
-                           
-       default-init-method="initialize"
-       default-destroy-method="destroy">
+       default-init-method="initialize">
 
     <bean id="StaticPKIXX509CredentialTrustEngine"
           class="org.opensaml.spring.trust.StaticPKIXFactoryBean">
@@ -27,4 +25,4 @@
         </property>
     </bean>
         
-</beans>
\ No newline at end of file
+</beans>
diff --git a/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-defaults.xml b/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-defaults.xml
index cf186faec..73a87db76 100644
--- a/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-defaults.xml
+++ b/opensaml-spring/src/test/resources/org/opensaml/spring/trust/static-pkix-factory-defaults.xml
@@ -8,9 +8,7 @@
        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"
-                           
-       default-init-method="initialize"
-       default-destroy-method="destroy">
+       default-init-method="initialize">
 
     <bean id="StaticPKIXX509CredentialTrustEngine"
           class="org.opensaml.spring.trust.StaticPKIXFactoryBean">
@@ -21,4 +19,4 @@
           </property>
     </bean>
         
-</beans>
\ No newline at end of file
+</beans>
diff --git a/opensaml-spring/src/test/resources/org/opensaml/spring/trust/staticExplicitNative.xml b/opensaml-spring/src/test/resources/org/opensaml/spring/trust/staticExplicitNative.xml
index 655606a74..d623697c9 100644
--- a/opensaml-spring/src/test/resources/org/opensaml/spring/trust/staticExplicitNative.xml
+++ b/opensaml-spring/src/test/resources/org/opensaml/spring/trust/staticExplicitNative.xml
@@ -6,7 +6,7 @@
 	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"
-	default-init-method="initialize" default-destroy-method="destroy">
+	default-init-method="initialize">
 
     <bean id="staticKeySingle"
         class="org.opensaml.spring.trust.StaticExplicitKeyFactoryBean"

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


More information about the commits mailing list