在ehcache.xml中
maxElementsInMemory="3000"
eternal="false"
overflowToDisk="true"
timeToIdleSeconds="30"
timeToLiveSeconds="30"
/>
maxElementsInMemory="10000"
eternal="true"
overflowToDisk="true"
timeToIdleSeconds="0"
timeToLiveSeconds="0"
/>
中value=shiro-activeSessionCache 根本没作用啊 在ehcache.xml中配置的这个cache没起作用 反而是
中的设置失效时间起作用了.....
还有个问题就是我用cacheManager中取得userCache 可以取到,但是在xml中的配置是不起作用的 求大神们知道 在线等候..........................