blob: be4e71e72e98c977f44b0b3822a692075e0e7df1 [file] [log] [blame]
<ehcache xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://ehcache.org/ehcache.xsd'>
<defaultCache eternal='true' overflowToDisk='false'/>
<!--maxBytesLocalHeap="200M"-->
<diskStore path="./cache_store"/>
<cache name='id_tokens'
eternal='true'
maxElementsOnDisk="10000000"
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="50"
overflowToDisk='true'/>
<cache name='auth_codes'
timeToIdleSeconds="600"
eternal='false'
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="100"
overflowToDisk='false'/>
<cache name='resources'
eternal='false'
overflowToDisk='false'
maxEntriesLocalHeap="60"
timeToIdleSeconds="172800"
diskSpoolBufferSizeMB="30"
diskExpiryThreadIntervalSeconds="120"
memoryStoreEvictionPolicy="LRU"
statistics="false"/>
<!-- EM -->
<cache name='authorization'
timeToLiveSeconds="1000"
eternal='false'
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="100"
overflowToDisk='false'/>
<cache name='access_token'
timeToIdleSeconds="3600"
timeToLiveSeconds="15000"
eternal='false'
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="500"
overflowToDisk='false'/>
</ehcache>