AzMan + ADAM + ASP .NET 2.0 problems
From: PReichert (PReichert_at_discussions.microsoft.com)
Date: 03/11/05
- Next message: aaron: "Re: Selective trust configuration"
- Previous message: Lee Flight: "Re: Disable requesting client certificate when running in SSL"
- Next in thread: Lee Flight: "Re: AzMan + ADAM + ASP .NET 2.0 problems"
- Reply: Lee Flight: "Re: AzMan + ADAM + ASP .NET 2.0 problems"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Mar 2005 03:57:04 -0800
Hello there. I have a problem that I'm struggling to solve and I want to see
if anyone there can provide me any help.
The scenario is:
I have a web app written in ASP .NET 2.0 which uses AzMan as authorisation
provider. This app calls a class written by me which then loads a store, an
app, a client context and do an access check on that client context.
For development purposes I have used an XML storage for AzMan and it works
fine. On the test server, though, I have installed ADAM and created an AzMan
store there.
I can then load the WebAdmin.axd tool for my web application on the test
server and configure users and roles. As long as I don't have any user
assigned to any role, the web applicaiton will run fine. When I add a user to
a role, the web application breaks with an error message stating that the
system could not find the file. The method that is failing in my application
is the IAzAuthorisationStore.OpenApplication().
I have then written a console app in .NET 1.1 using the same code I use on
my web app, trying to do access checks agains AzMan with the ADAM store and
it works.
After playing with security stuff I have found that if I configure the web
application to run under the context of the ADAM instance administrator, the
applicaiton works and the security checks are done successfully. Any other
user doesn't work.
I have then tried to install an instance of ADAM setting a group created by
me as administrator, but then members of that group are denied access to ADAM
when trying to create the store.
Does anyone have a clue of what's going on? Is that a bug in ADAM?
PS: I have reproduced my dev server in a Virtual PC VM and I was able to
reproduce the problem. Installing the hotfixes I was able to get from the MS
Premier support web site didn't solve the problem.
Cheers, thanks.
- Next message: aaron: "Re: Selective trust configuration"
- Previous message: Lee Flight: "Re: Disable requesting client certificate when running in SSL"
- Next in thread: Lee Flight: "Re: AzMan + ADAM + ASP .NET 2.0 problems"
- Reply: Lee Flight: "Re: AzMan + ADAM + ASP .NET 2.0 problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|