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:55 UTC
svn commit: r1483813 -
/cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java
Author: coheigea
Date: Fri May 17 14:07:54 2013
New Revision: 1483813
URL: http://svn.apache.org/r1483813
Log:
Take TTL from configuration
Modified:
cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java
Modified: cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java
URL: http://svn.apache.org/viewvc/cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java?rev=1483813&r1=1483812&r2=1483813&view=diff
==============================================================================
--- cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java (original)
+++ cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java Fri May 17 14:07:54 2013
@@ -66,6 +66,9 @@ public class EHCacheTokenReplayCache imp
Ehcache newCache = new Cache(cc);
cache = cacheManager.addCacheIfAbsent(newCache);
+
+ // Set the TimeToLive value from the CacheConfiguration
+ ttl = cc.getTimeToLiveSeconds();
}
/**