onLogout() gets called when user logs out.  When called directly it clears the 
cache. When called directly the user is not necessarily logged out. 



> On Feb 22, 2015, at 7:06 PM, koem <[email protected]> wrote:
> 
> But onLogout indicates, that caches are cleared when logging out only. 
> My code does it without.
> 
> 
>> Am 22.02.2015 um 23:49 schrieb lprimak [via Shiro User]:
>> Your code does exactly the same as mine but with much greater lines of 
>> code
>> If you look at what onLogout does it does the cache clearing.
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/how-to-clear-cache-objects-for-certain-user-tp7580454p7580461.html
> Sent from the Shiro User mailing list archive at Nabble.com.
> 

Reply via email to