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 2013/05/17 16:07:32 UTC
svn commit: r1483812 -
/cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/EHCacheTokenStore.java
Author: coheigea
Date: Fri May 17 14:07:32 2013
New Revision: 1483812
URL: http://svn.apache.org/r1483812
Log:
[CXF-5018] - EHCache TimeToLive value overriden in EHCacheReplayCache
Conflicts:
rt/ws/security/src/main/java/org/apache/cxf/ws/security/cache/EHCacheReplayCache.java
Modified:
cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/EHCacheTokenStore.java
Modified: cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/EHCacheTokenStore.java
URL: http://svn.apache.org/viewvc/cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/EHCacheTokenStore.java?rev=1483812&r1=1483811&r2=1483812&view=diff
==============================================================================
--- cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/EHCacheTokenStore.java (original)
+++ cxf/branches/wss4j2.0-port/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/EHCacheTokenStore.java Fri May 17 14:07:32 2013
@@ -66,6 +66,9 @@ public class EHCacheTokenStore implement
Ehcache newCache = new Cache(cc);
cache = cacheManager.addCacheIfAbsent(newCache);
+
+ // Set the TimeToLive value from the CacheConfiguration
+ ttl = cc.getTimeToLiveSeconds();
}
/**