AzMan Caching Issue



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?

.



Relevant Pages

  • Re: Static variables "lose" value
    ... > In my application static var are used to store values that are ... > When I said that "restore static variables' values" I meant that they are ... >> Re-starting the app doesn't restore static variables' values: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Storing Variables
    ... variable and store it globally...but here's what's happening. ... I'm executing that command at least 10 times replacing the word test with ... Sub doMyThing ... Static variables hold their values between calls to a ...
    (microsoft.public.dotnet.languages.vb)
  • Re: static information...
    ... Larry Bates ... > I've been looking for a way of have static variables in a python class and ... What I want is someplace to store class's information and ...
    (comp.lang.python)
  • Re: [PHP] Functions with Static Variables vs. Classes
    ... static $store = array; ... AFAIK the above line should cause an error on the second run of the ... as you declare the same static variable for the second time. ... I think so - otherwise static Variables would be quite senseless. ...
    (php.general)

Quantcast