blob: 2801a59f8d6730f6150ffffcbff72b083207908d [file] [log] [blame]
margaretha1b320452018-08-02 16:56:25 +02001<ehcache xsi:noNamespaceSchemaLocation="http://www.ehcache.org/ehcache.xsd"
2 updateCheck="true" monitoring="autodetect" dynamicConfig="true">
3
Michael Hanl72c7b832015-09-03 08:42:15 +02004 <defaultCache eternal='true' overflowToDisk='false'/>
5 <!--maxBytesLocalHeap="200M"-->
Michael Hanlf1e85e72016-01-21 16:55:45 +01006 <diskStore path="./cache_store"/>
margaretha064eb6f2018-07-10 18:33:01 +02007
Michael Hanl72c7b832015-09-03 08:42:15 +02008 <cache name='id_tokens'
Michael Hanlf1e85e72016-01-21 16:55:45 +01009 eternal='true'
10 maxElementsOnDisk="10000000"
Michael Hanl72c7b832015-09-03 08:42:15 +020011 memoryStoreEvictionPolicy="LRU"
12 maxEntriesLocalHeap="50"
Michael Hanlf1e85e72016-01-21 16:55:45 +010013 overflowToDisk='true'/>
Michael Hanl7368aa42016-02-05 18:15:47 +010014
margaretha07a356a2018-07-11 19:12:21 +020015 <cache name='id_tokens_inv'
16 eternal='true'
17 maxElementsOnDisk="10000000"
18 memoryStoreEvictionPolicy="LRU"
19 maxEntriesLocalHeap="50"
20 overflowToDisk='true'/>
21
Michael Hanl72c7b832015-09-03 08:42:15 +020022 <cache name='auth_codes'
23 timeToIdleSeconds="600"
24 eternal='false'
25 memoryStoreEvictionPolicy="LRU"
26 maxEntriesLocalHeap="100"
27 overflowToDisk='false'/>
Michael Hanlc0ed00f2016-06-23 14:33:10 +020028
Michael Hanl72c7b832015-09-03 08:42:15 +020029 <cache name='resources'
30 eternal='false'
31 overflowToDisk='false'
32 maxEntriesLocalHeap="60"
33 timeToIdleSeconds="172800"
34 diskSpoolBufferSizeMB="30"
35 diskExpiryThreadIntervalSeconds="120"
36 memoryStoreEvictionPolicy="LRU"
margaretha6ef00dd2018-09-12 14:06:38 +020037 />
margaretha064eb6f2018-07-10 18:33:01 +020038
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"
margaretha1b320452018-08-02 16:56:25 +020053 overflowToDisk='false'/>
54
55 <cache name="named_vc"
56 eternal="true"
57 memoryStoreEvictionPolicy="LRU"
58 maxBytesLocalHeap="256M"
59 maxBytesLocalDisk="1G"
60 diskExpiryThreadIntervalSeconds = "120" >
61 <persistence strategy="localTempSwap"/>
margarethae1228ab2021-02-22 11:51:38 +010062 <sizeOfPolicy maxDepth="3000" maxDepthExceededBehavior="abort" />
margaretha1b320452018-08-02 16:56:25 +020063 </cache>
Michael Hanl72c7b832015-09-03 08:42:15 +020064</ehcache>