blob: 8cddd0eccb5ab558d43e597ff8b4ad75991ae5d9 [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"
37 statistics="false"/>
margaretha064eb6f2018-07-10 18:33:01 +020038
39
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>