Author: RMD | Posted on: 8/22/2008 3:23:02 PM | Views : 512

Has anybody encountered issues with AzMan caching?

I keep my AzAuthorizationStoreClass and my IAzApplication2 instances in static variables that I initialize in my static constructor. The client context is created on each ASP.NET page request.

If I assign a user to a role assignment and call the UpdateCache method on the store, it correctly reflects the changes. If I remove a user from a role assignment and call UpdateCache, those changes are not reflected.

In other words, UpdateCache only seems to actually update the cache for certain changes and not others. The only way I can force a full cache refresh is to blow away my store and create a brand new one, which obviously isn't a great idea for performance.

Ideas?
...

Go to the complete details ...