blob: 0aa370f29652dbe7db1e9afce60a9e0423fd240b [file]
<?xml version="1.0"?>
<ehcache xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false" monitoring="autodetect" dynamicConfig="true" name="cxfSecurityCache">
<diskStore path="java.io.tmpdir"/>
<defaultCache maxEntriesLocalHeap="5000" eternal="false" timeToIdleSeconds="3600" timeToLiveSeconds="3600" overflowToDisk="true" maxElementsOnDisk="10000000" diskPersistent="false" diskExpiryThreadIntervalSeconds="120" memoryStoreEvictionPolicy="LRU"/>
<!--
Security Tokens are not writable to Disk so use a memory only
cache with a bit larger maxEntriesLocalHeap. However, this
cache is per-endpoint so not "too large" to not consume the
entire heap.
-->
<cache name="org.apache.cxf.ws.security.tokenstore.TokenStore" overflowToDisk="false" maxEntriesLocalHeap="10000" timeToIdleSeconds="3600" timeToLiveSeconds="3600"/>
</ehcache>