roleProvider and Windows Authentication
From: Mark Parter (MarkParter_at_discussions.microsoft.com)
Date: 05/21/05
- Previous message: anjinho: "URGENT: please help ASP.NET Forms authentication and recycling of application pool"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: roleProvider and Windows Authentication"
- Reply: Dominick Baier [DevelopMentor]: "Re: roleProvider and Windows Authentication"
- Reply: ManniAT: "Re: roleProvider and Windows Authentication"
- Maybe reply: Dominick Baier [DevelopMentor]: "Re: roleProvider and Windows Authentication"
- Maybe reply: Mark Parter: "Re: roleProvider and Windows Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 20 May 2005 16:58:01 -0700
I have a sitemap file containing all of the pages in my application so far. I
have a menu control on a master page which uses this sitemap as it's
datasource to build the menu. I'm using Windows authentication and the
AspNetWindowsRoleTokenProvider but when I assign roles to a siteMapNode, it
is still shown in the menu, even though I'm not in the group specified!
Here's the relevant section of my web.config;
<roleManager defaultProvider="AspNetWindowsTokenRoleProvider" />
<authentication mode="Windows"/>
And my sitemap;
<siteMapNode title="Registers" url="" description="">
<siteMapNode title="New Register" url="~/registers/newregwiz.aspx"
description="Create a new register based upon an issued reigster template" />
<siteMapNode title="Edit Register" url="~/registers/editregister.aspx"
description="Edit an existing register" />
<siteMapNode title="Load Register" url="~/registers/loadregister.aspx"
description="Load a Register for editing" SecurityTrimmingEnabled="true"
roles="ARS_Administrators" />
<siteMapNode title="Quick Register Entry" url="~/registers/qregentry.aspx"
description="Quickly update a register" />
<siteMapNode title="Register Entry" url="~/registers/regentry.aspx"
description="Update a register" />
<siteMapNode title="Register History" url="~/registers/reghist.aspx"
description="Show the history of a register" />
</siteMapNode>
Any ideas why it's not working?
- Previous message: anjinho: "URGENT: please help ASP.NET Forms authentication and recycling of application pool"
- Next in thread: Dominick Baier [DevelopMentor]: "Re: roleProvider and Windows Authentication"
- Reply: Dominick Baier [DevelopMentor]: "Re: roleProvider and Windows Authentication"
- Reply: ManniAT: "Re: roleProvider and Windows Authentication"
- Maybe reply: Dominick Baier [DevelopMentor]: "Re: roleProvider and Windows Authentication"
- Maybe reply: Mark Parter: "Re: roleProvider and Windows Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|