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

Rewrite AuthorizingRealm, and configure the cacheManager throws an exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Integration: JEE
    • Environment:
      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

            • Assignee:
              Unassigned
              Reporter:
              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