You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2020/04/08 13:37:37 UTC
[cxf] branch master updated: Make sure to close the SAML cache
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new 9425968 Make sure to close the SAML cache
9425968 is described below
commit 9425968cd6747a03737bdf15b449b4b6b07ee7df
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed Apr 8 14:37:14 2020 +0100
Make sure to close the SAML cache
---
.../java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java
index 4682904..c565433 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/CacheCleanupListener.java
@@ -65,6 +65,10 @@ public class CacheCleanupListener implements ServerLifeCycleListener, ClientLife
if (rc != null) {
close(rc);
}
+ rc = (ReplayCache)info.getProperty(SecurityConstants.SAML_ONE_TIME_USE_CACHE_INSTANCE);
+ if (rc != null) {
+ close(rc);
+ }
}
private void close(Closeable ts) {