ehcache-shiro.xml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <ehcache updateCheck="false" name="shiroCache">
  2. <diskStore path="java.io.tmpdir/shiro/projects" />
  3. <!-- maxEntriesLocalHeap="2000" -->
  4. <cache name="passwordRetryCache"
  5. eternal="false"
  6. timeToIdleSeconds="3600"
  7. timeToLiveSeconds="0"
  8. overflowToDisk="false"
  9. statistics="true">
  10. </cache>
  11. <cache name="authorizationCache"
  12. eternal="false"
  13. timeToIdleSeconds="3600"
  14. timeToLiveSeconds="0"
  15. overflowToDisk="false"
  16. statistics="true">
  17. </cache>
  18. <cache name="authenticationCache"
  19. eternal="false"
  20. timeToIdleSeconds="3600"
  21. timeToLiveSeconds="0"
  22. overflowToDisk="false"
  23. statistics="true">
  24. </cache>
  25. <cache name="shiro-activeSessionCache"
  26. eternal="false"
  27. timeToIdleSeconds="3600"
  28. timeToLiveSeconds="0"
  29. overflowToDisk="false"
  30. statistics="true">
  31. </cache>
  32. </ehcache>