blob: d2be64767d52b5a8cee09c197a55a5bdb74e35be [file] [log] [blame]
Michael Hanl72c7b832015-09-03 08:42:15 +02001<ehcache xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
margarethabcda2f72017-04-27 10:17:58 +02002 xsi:schemaLocation='http://ehcache.org/ehcache.xsd'>
Michael Hanl72c7b832015-09-03 08:42:15 +02003 <defaultCache eternal='true' overflowToDisk='false'/>
4 <!--maxBytesLocalHeap="200M"-->
Michael Hanlf1e85e72016-01-21 16:55:45 +01005 <diskStore path="./cache_store"/>
margaretha064eb6f2018-07-10 18:33:01 +02006
Michael Hanl72c7b832015-09-03 08:42:15 +02007 <cache name='id_tokens'
Michael Hanlf1e85e72016-01-21 16:55:45 +01008 eternal='true'
9 maxElementsOnDisk="10000000"
Michael Hanl72c7b832015-09-03 08:42:15 +020010 memoryStoreEvictionPolicy="LRU"
11 maxEntriesLocalHeap="50"
Michael Hanlf1e85e72016-01-21 16:55:45 +010012 overflowToDisk='true'/>
Michael Hanl7368aa42016-02-05 18:15:47 +010013
margaretha07a356a2018-07-11 19:12:21 +020014 <cache name='id_tokens_inv'
15 eternal='true'
16 maxElementsOnDisk="10000000"
17 memoryStoreEvictionPolicy="LRU"
18 maxEntriesLocalHeap="50"
19 overflowToDisk='true'/>
20
Michael Hanl72c7b832015-09-03 08:42:15 +020021 <cache name='auth_codes'
22 timeToIdleSeconds="600"
23 eternal='false'
24 memoryStoreEvictionPolicy="LRU"
25 maxEntriesLocalHeap="100"
26 overflowToDisk='false'/>
Michael Hanlc0ed00f2016-06-23 14:33:10 +020027
Michael Hanl72c7b832015-09-03 08:42:15 +020028 <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"/>
margaretha064eb6f2018-07-10 18:33:01 +020037
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 Hanl72c7b832015-09-03 08:42:15 +020054</ehcache>