| <ehcache xsi:noNamespaceSchemaLocation="http://www.ehcache.org/ehcache.xsd" | |
| updateCheck="true" monitoring="autodetect" dynamicConfig="true"> | |
| <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='id_tokens_inv' | |
| 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" | |
| /> | |
| <!-- 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'/> | |
| <cache name="named_vc" | |
| eternal="true" | |
| memoryStoreEvictionPolicy="LRU" | |
| maxBytesLocalHeap="256M" | |
| maxBytesLocalDisk="1G" | |
| diskExpiryThreadIntervalSeconds = "120" > | |
| <persistence strategy="localTempSwap"/> | |
| </cache> | |
| </ehcache> |