Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 1 | <ehcache xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' |
margaretha | bcda2f7 | 2017-04-27 10:17:58 +0200 | [diff] [blame] | 2 | xsi:schemaLocation='http://ehcache.org/ehcache.xsd'> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 3 | <defaultCache eternal='true' overflowToDisk='false'/> |
| 4 | <!--maxBytesLocalHeap="200M"--> |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 5 | <diskStore path="./cache_store"/> |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 6 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 7 | <cache name='id_tokens' |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 8 | eternal='true' |
| 9 | maxElementsOnDisk="10000000" |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 10 | memoryStoreEvictionPolicy="LRU" |
| 11 | maxEntriesLocalHeap="50" |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 12 | overflowToDisk='true'/> |
Michael Hanl | 7368aa4 | 2016-02-05 18:15:47 +0100 | [diff] [blame] | 13 | |
margaretha | 07a356a | 2018-07-11 19:12:21 +0200 | [diff] [blame] | 14 | <cache name='id_tokens_inv' |
| 15 | eternal='true' |
| 16 | maxElementsOnDisk="10000000" |
| 17 | memoryStoreEvictionPolicy="LRU" |
| 18 | maxEntriesLocalHeap="50" |
| 19 | overflowToDisk='true'/> |
| 20 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 21 | <cache name='auth_codes' |
| 22 | timeToIdleSeconds="600" |
| 23 | eternal='false' |
| 24 | memoryStoreEvictionPolicy="LRU" |
| 25 | maxEntriesLocalHeap="100" |
| 26 | overflowToDisk='false'/> |
Michael Hanl | c0ed00f | 2016-06-23 14:33:10 +0200 | [diff] [blame] | 27 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 28 | <cache name='resources' |
| 29 | eternal='false' |
| 30 | overflowToDisk='false' |
| 31 | maxEntriesLocalHeap="60" |
| 32 | timeToIdleSeconds="172800" |
| 33 | diskSpoolBufferSizeMB="30" |
| 34 | diskExpiryThreadIntervalSeconds="120" |
| 35 | memoryStoreEvictionPolicy="LRU" |
| 36 | statistics="false"/> |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 37 | |
| 38 | |
| 39 | <!-- EM --> |
| 40 | <cache name='authorization' |
| 41 | timeToLiveSeconds="1000" |
| 42 | eternal='false' |
| 43 | memoryStoreEvictionPolicy="LRU" |
| 44 | maxEntriesLocalHeap="100" |
| 45 | overflowToDisk='false'/> |
| 46 | |
| 47 | <cache name='access_token' |
| 48 | timeToIdleSeconds="3600" |
| 49 | timeToLiveSeconds="15000" |
| 50 | eternal='false' |
| 51 | memoryStoreEvictionPolicy="LRU" |
| 52 | maxEntriesLocalHeap="500" |
| 53 | overflowToDisk='false'/> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 54 | </ehcache> |