[java-identity-provider] 01/02: JSSH-71 Remove the impact of the DestructableComponent Interface

Codeberg noreply at shibboleth.net
Thu Jul 30 10:17:15 UTC 2026


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

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

View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/41877d41f97a377917acd6461cff8351a25971a0

commit 41877d41f97a377917acd6461cff8351a25971a0
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jul 29 19:56:34 2026 +0100

    JSSH-71 Remove the impact of the DestructableComponent Interface
    
    https://shibboleth.atlassian.net/browse/JSSH-71
    
    Add a BeanTearDownProcessor into global-system.xml to tear down outer level beans (on IdP reload for instances)
---
 .../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 43b322cbd..fbb201eab 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
@@ -612,4 +612,8 @@
         depends-on="shibboleth.LoggingService"
         p:cacheLife="%{idp.updateCheck.cacheInterval:PT24H}" />
 
+    <!-- This bean just hangs around waiting for the associated ApplicationContext to go away and will
+         then tear down any top level beans we need to get torn down (ReloadableServices,
+         CachingHttpClients StorageServices and the like) -->
+    <bean id="shibboleth.beanTeardownProcessor" class="net.shibboleth.shared.spring.config.BeanTearDownProcessor"/>
 </beans>

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


More information about the commits mailing list