Leon Lee created SHIRO-444:
------------------------------

             Summary: Rewrite AuthorizingRealm, and configure the cacheManager 
throws an exception
                 Key: SHIRO-444
                 URL: https://issues.apache.org/jira/browse/SHIRO-444
             Project: Shiro
          Issue Type: Bug
          Components: Integration: JEE
    Affects Versions: 1.2.1
         Environment: OS X 10.8.3  JDK 1.6 JFinal
            Reporter: Leon Lee
             Fix For: 1.2.1


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to