margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 1 | <ehcache xsi:noNamespaceSchemaLocation="http://www.ehcache.org/ehcache.xsd" |
| 2 | updateCheck="true" monitoring="autodetect" dynamicConfig="true"> |
| 3 | |
margaretha | 2544cdf | 2019-07-08 11:39:43 +0200 | [diff] [blame] | 4 | <sizeOfPolicy maxDepth="100" maxDepthExceededBehavior="abort" /> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 5 | <defaultCache eternal='true' overflowToDisk='false'/> |
| 6 | <!--maxBytesLocalHeap="200M"--> |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 7 | <diskStore path="./cache_store"/> |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 8 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 9 | <cache name='id_tokens' |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 10 | eternal='true' |
| 11 | maxElementsOnDisk="10000000" |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 12 | memoryStoreEvictionPolicy="LRU" |
| 13 | maxEntriesLocalHeap="50" |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 14 | overflowToDisk='true'/> |
Michael Hanl | 7368aa4 | 2016-02-05 18:15:47 +0100 | [diff] [blame] | 15 | |
margaretha | 07a356a | 2018-07-11 19:12:21 +0200 | [diff] [blame] | 16 | <cache name='id_tokens_inv' |
| 17 | eternal='true' |
| 18 | maxElementsOnDisk="10000000" |
| 19 | memoryStoreEvictionPolicy="LRU" |
| 20 | maxEntriesLocalHeap="50" |
| 21 | overflowToDisk='true'/> |
| 22 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 23 | <cache name='auth_codes' |
| 24 | timeToIdleSeconds="600" |
| 25 | eternal='false' |
| 26 | memoryStoreEvictionPolicy="LRU" |
| 27 | maxEntriesLocalHeap="100" |
| 28 | overflowToDisk='false'/> |
Michael Hanl | c0ed00f | 2016-06-23 14:33:10 +0200 | [diff] [blame] | 29 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 30 | <cache name='resources' |
| 31 | eternal='false' |
| 32 | overflowToDisk='false' |
| 33 | maxEntriesLocalHeap="60" |
| 34 | timeToIdleSeconds="172800" |
| 35 | diskSpoolBufferSizeMB="30" |
| 36 | diskExpiryThreadIntervalSeconds="120" |
| 37 | memoryStoreEvictionPolicy="LRU" |
margaretha | 6ef00dd | 2018-09-12 14:06:38 +0200 | [diff] [blame] | 38 | /> |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 39 | |
| 40 | <!-- EM --> |
| 41 | <cache name='authorization' |
| 42 | timeToLiveSeconds="1000" |
| 43 | eternal='false' |
| 44 | memoryStoreEvictionPolicy="LRU" |
| 45 | maxEntriesLocalHeap="100" |
| 46 | overflowToDisk='false'/> |
| 47 | |
| 48 | <cache name='access_token' |
| 49 | timeToIdleSeconds="3600" |
| 50 | timeToLiveSeconds="15000" |
| 51 | eternal='false' |
| 52 | memoryStoreEvictionPolicy="LRU" |
| 53 | maxEntriesLocalHeap="500" |
margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 54 | overflowToDisk='false'/> |
| 55 | |
| 56 | <cache name="named_vc" |
| 57 | eternal="true" |
| 58 | memoryStoreEvictionPolicy="LRU" |
| 59 | maxBytesLocalHeap="256M" |
| 60 | maxBytesLocalDisk="1G" |
| 61 | diskExpiryThreadIntervalSeconds = "120" > |
| 62 | <persistence strategy="localTempSwap"/> |
| 63 | </cache> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 64 | </ehcache> |