[ 
https://issues.apache.org/jira/browse/SHIRO-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Les Hazlewood resolved SHIRO-354.
---------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 1.3.0
                   1.2.1
         Assignee: Les Hazlewood

I created an integration test to verify the correct functionality here:

http://svn.apache.org/repos/asf/shiro/trunk/core/src/test/groovy/org/apache/shiro/realm/AuthenticatingRealmIntegrationTest.groovy

Our line coverage for AuthenticatingRealm is 96% and the new integration test, 
almost mirroring your config exactly (per the email thread), passes 
successfully.

Please take a look at the test.  If you still think this is a bug, please 
update the referenced unit test (or provide a new one of your own) as a patch 
and reopen this issue.   Without a submitted unit/integration test, we cannot 
reproduce this issue.
                
> Authentication cache
> --------------------
>
>                 Key: SHIRO-354
>                 URL: https://issues.apache.org/jira/browse/SHIRO-354
>             Project: Shiro
>          Issue Type: Bug
>          Components: Caching 
>    Affects Versions: 1.2.0
>         Environment: irrelevant
>            Reporter: Tudor Raneti
>            Assignee: Les Hazlewood
>              Labels: authentication, cache
>             Fix For: 1.2.1, 1.3.0
>
>
> 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...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to