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

Authentication cache

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: Caching
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: