Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-444

Rewrite AuthorizingRealm, and configure the cacheManager throws an exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.2.1
    • None
    • Integration: JEE
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            eyelee Leon Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 616h
                616h
                Remaining:
                Remaining Estimate - 616h
                616h
                Logged:
                Time Spent - Not Specified
                Not Specified