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();
}
/**