R
RMD
Has anybody encountered issues with AzMan caching? I'm using Active Directory
for my store.
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 via the MMC and call the UpdateCache
method on the store, it correctly reflects the changes. If I remove a user
from a role assignment via the MMC 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?
for my store.
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 via the MMC and call the UpdateCache
method on the store, it correctly reflects the changes. If I remove a user
from a role assignment via the MMC 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?