|
|
@@ -1,13 +1,33 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
- xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd">
|
|
|
- <diskStore path="java.io.tmpdir/shiro-ehcache"/>
|
|
|
- <cache name="shiro-activeSessionCache"
|
|
|
- maxEntriesLocalHeap="10000"
|
|
|
+<ehcache name="shirocache">
|
|
|
+
|
|
|
+ <diskStore path="java.io.tmpdir/zheng-upms-server/shiro-ehcache"/>
|
|
|
+
|
|
|
+ <cache name="authorizationCache"
|
|
|
+ maxEntriesLocalHeap="2000"
|
|
|
+ eternal="false"
|
|
|
+ timeToIdleSeconds="3600"
|
|
|
+ timeToLiveSeconds="0"
|
|
|
+ overflowToDisk="false"
|
|
|
+ statistics="true">
|
|
|
+ </cache>
|
|
|
+
|
|
|
+ <cache name="authenticationCache"
|
|
|
+ maxEntriesLocalHeap="2000"
|
|
|
+ eternal="false"
|
|
|
+ timeToIdleSeconds="3600"
|
|
|
+ timeToLiveSeconds="0"
|
|
|
overflowToDisk="false"
|
|
|
+ statistics="true">
|
|
|
+ </cache>
|
|
|
+
|
|
|
+ <cache name="shiro-activeSessionCache"
|
|
|
+ maxEntriesLocalHeap="2000"
|
|
|
eternal="false"
|
|
|
- diskPersistent="false"
|
|
|
+ timeToIdleSeconds="3600"
|
|
|
timeToLiveSeconds="0"
|
|
|
- timeToIdleSeconds="0"
|
|
|
- statistics="true"/>
|
|
|
+ overflowToDisk="false"
|
|
|
+ statistics="true">
|
|
|
+ </cache>
|
|
|
+
|
|
|
</ehcache>
|