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

Authentication cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.1
    • Caching
    • irrelevant

    Description

      Please see this subject for details:

      http://shiro-user.582556.n2.nabble.com/how-to-log-out-another-user-programatically-authentication-cache-problem-td7420486.html#a7429528

      In short:
      I can't set authenticationCachingEnabled from shiro.ini or realm constructor;
      Even if it were set, as I managed to start an authentication cache, it would not work because !isAuthenticationCachingEnabled(token, info) always returns true in AuthenticatingRealm.cacheAuthenticationInfoIfPossible, returning w/o putting anything on the cache.

      Otherwise the system logs say that it's using the cache...

      Attachments

        Activity

          People

            Unassigned Unassigned
            tudor.raneti Tudor Raneti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: