What caching mechanism are you using? (i.e. what is your CacheManager implementation)?
Are you clearing the entire cache? Or just the cache entry for that particular user? I've never heard of a cache being inefficient for removing a single entry - that sounds extremely suspicious. Finally, as to your posts being unapproved - I'm a list administrator for all the Shiro lists and I haven't seen any pending posts awaiting approval. If you've subscribed to the list, you can post to it. Perhaps someone tried to post before the subscription process was complete... HTH, -- Les Hazlewood Founder, Katasoft, Inc. Application Security Products & Professional Apache Shiro Support and Training: http://www.katasoft.com On Tue, May 3, 2011 at 11:39 PM, Nivedan Nadaraj <[email protected]> wrote: > Hi All, > > I have implemented Shiro with Wicket application and followed the steps to > invalidate the cache when a user's authorisation changes. So each time the > application recognises that the cache as to be invalidated it invokes the > realm and clears the cache and the following Authorisation check loads the > correct role/permissions for the user. > > This clearing of cache greatly decreases the performance and in our case > every tab the user clicks the cache must be cleared because the user is tied > to each function and his roles and permissions change. Is there an > alternative way to increase the performance? I understand if the cache is > not invalidated it is fine but in this case I am forced to. > > In another thread I noticed that my posts/our posts are not approved. Could > the administrator let us know what the issue is? > > Many Thanks > Nivedan
