|
-
Jun 26th, 2003, 08:51 AM
#1
Thread Starter
New Member
Roles from ASP.NET to COM+
Hi,
I wish to keep my users and roles in a database and use forms authentication to check the credentials of the user. If the credentials are OK, I wish to create a new GenericPrincipal and assign role names based on the users roles stored in the database. I then assign the new GenericPrincipal to the Context.User.
I was then hoping that calls into .NET assemblies in COM+ would pick up on the callers roles that were set against the GenericPrincipal in my ASP.NET page. The roles used in COM+ match those of the database. But COM+ detects machinename/ASPNET as the identity, not that of the GenericPrincipal, and errors with 'Access Denied'.
I have set basic and windows authentication 'off', and anonymous to 'on'. COM+ has 'Enforce access checks' and 'Perform checks at Process and Component Level'.
Does anyone know how to get the Principal I have set on my ASP.NET logon page to authenticate through to COM+? Any answers much appreciated.
Cheers,
RC
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|