All Downloads are FREE. Search and download functionalities are using the official Maven repository.

f.cxf-bundle.2.7.6.source-code.cxf-ehcache.xml Maven / Gradle / Ivy

There is a newer version: 3.0.0-milestone2
Show newest version
<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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy