Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
1.2.1
-
None
-
OS X 10.8.3 JDK 1.6 JFinal
Description
Rewrite AuthorizingRealm, and configure the cacheManager throws an exception
cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
cacheManager.cacheManagerConfigFile = classpath:ehcache-shiro.xml
securityManager.cacheManager = $cacheManager
shiroDbRealm = com.earlybird.aloha.ext.shiro.MyShiroRealm
securityManager.realms = $shiroDbRealm
sessionDAO = org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
sessionDAO.activeSessionsCacheName = shiro-activeSessionsCache
sessionManager.sessionDAO = $sessionDAO
securityManager.sessionManager = $sessionManager