I'm trying to get my intranet site to use Windows authentication with the Active Directory Membership Provider from Microsoft and a custom Active Directory role provider that I've found and customised.
A few manual calls to the role provider shows that it seems to be working OK and returning users in roles, roles for users etc...from the Active Directory.
The problem I'm having is when I try to secure pages against the roles. Whilst my roles are listed in the Public Access dialog and I can assign roles and these are persisted, when I try to access the secured page, everyone is denied (irrespective of which roles the page is protected with and/or which AD roles a user is in).
Can anyone give me an insight into how a security check is done before a page is displayed? I don't have a log in page as I'm hoping to use AD.
Custom Role Provider
Hi,
I'm trying to get my intranet site to use Windows authentication with the Active Directory Membership Provider from Microsoft and a custom Active Directory role provider that I've found and customised.
A few manual calls to the role provider shows that it seems to be working OK and returning users in roles, roles for users etc...from the Active Directory.
The problem I'm having is when I try to secure pages against the roles. Whilst my roles are listed in the Public Access dialog and I can assign roles and these are persisted, when I try to access the secured page, everyone is denied (irrespective of which roles the page is protected with and/or which AD roles a user is in).
Can anyone give me an insight into how a security check is done before a page is displayed? I don't have a log in page as I'm hoping to use AD.
Thanks, Matt
is working on a reply...