blob: 2531fdb7c0be92f067b31ae4f6600f590d4b7246 [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
margaretha2544cdf2019-07-08 11:39:43 +02004 <sizeOfPolicy maxDepth="100" maxDepthExceededBehavior="abort" />
Michael Hanl72c7b832015-09-03 08:42:15 +02005 <defaultCache eternal='true' overflowToDisk='false'/>
6 <!--maxBytesLocalHeap="200M"-->
Michael Hanlf1e85e72016-01-21 16:55:45 +01007 <diskStore path="./cache_store"/>
margaretha064eb6f2018-07-10 18:33:01 +02008
Michael Hanl72c7b832015-09-03 08:42:15 +02009 <cache name='id_tokens'
Michael Hanlf1e85e72016-01-21 16:55:45 +010010 eternal='true'
11 maxElementsOnDisk="10000000"
Michael Hanl72c7b832015-09-03 08:42:15 +020012 memoryStoreEvictionPolicy="LRU"
13 maxEntriesLocalHeap="50"
Michael Hanlf1e85e72016-01-21 16:55:45 +010014 overflowToDisk='true'/>
Michael Hanl7368aa42016-02-05 18:15:47 +010015
margaretha07a356a2018-07-11 19:12:21 +020016 <cache name='id_tokens_inv'
17 eternal='true'
18 maxElementsOnDisk="10000000"
19 memoryStoreEvictionPolicy="LRU"
20 maxEntriesLocalHeap="50"
21 overflowToDisk='true'/>
22
Michael Hanl72c7b832015-09-03 08:42:15 +020023 <cache name='auth_codes'
24 timeToIdleSeconds="600"
25 eternal='false'
26 memoryStoreEvictionPolicy="LRU"
27 maxEntriesLocalHeap="100"
28 overflowToDisk='false'/>
Michael Hanlc0ed00f2016-06-23 14:33:10 +020029
Michael Hanl72c7b832015-09-03 08:42:15 +020030 <cache name='resources'
31 eternal='false'
32 overflowToDisk='false'
33 maxEntriesLocalHeap="60"
34 timeToIdleSeconds="172800"
35 diskSpoolBufferSizeMB="30"
36 diskExpiryThreadIntervalSeconds="120"
37 memoryStoreEvictionPolicy="LRU"
margaretha6ef00dd2018-09-12 14:06:38 +020038 />
margaretha064eb6f2018-07-10 18:33:01 +020039
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"
margaretha1b320452018-08-02 16:56:25 +020054 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 Hanl72c7b832015-09-03 08:42:15 +020064</ehcache>