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 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 14 | <cache name='auth_codes' |
| 15 | timeToIdleSeconds="600" |
| 16 | eternal='false' |
| 17 | memoryStoreEvictionPolicy="LRU" |
| 18 | maxEntriesLocalHeap="100" |
| 19 | overflowToDisk='false'/> |
Michael Hanl | c0ed00f | 2016-06-23 14:33:10 +0200 | [diff] [blame] | 20 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 21 | <cache name='resources' |
| 22 | eternal='false' |
| 23 | overflowToDisk='false' |
| 24 | maxEntriesLocalHeap="60" |
| 25 | timeToIdleSeconds="172800" |
| 26 | diskSpoolBufferSizeMB="30" |
| 27 | diskExpiryThreadIntervalSeconds="120" |
| 28 | memoryStoreEvictionPolicy="LRU" |
| 29 | statistics="false"/> |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame^] | 30 | |
| 31 | |
| 32 | <!-- EM --> |
| 33 | <cache name='authorization' |
| 34 | timeToLiveSeconds="1000" |
| 35 | eternal='false' |
| 36 | memoryStoreEvictionPolicy="LRU" |
| 37 | maxEntriesLocalHeap="100" |
| 38 | overflowToDisk='false'/> |
| 39 | |
| 40 | <cache name='access_token' |
| 41 | timeToIdleSeconds="3600" |
| 42 | timeToLiveSeconds="15000" |
| 43 | eternal='false' |
| 44 | memoryStoreEvictionPolicy="LRU" |
| 45 | maxEntriesLocalHeap="500" |
| 46 | overflowToDisk='false'/> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 47 | </ehcache> |