Re: Forms Authentication - Active Directory
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Jun 2007 09:37:51 -0500
FYI, Ryan's LDAP-based AD/ADAM Role Provider is posted on Code Plex now in
case anyone wants it or wishes to contribute.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Dominick Baier" <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:51eb3048119428c97a3e35d04cf0@xxxxxxxxxxxxxxxxxxxxx
They are all not very helpful in your situation.
The WindowsTokenRoleProvider only works with windows auth - not forms.
Ryan an me have written an ActiveDirectoryRoleProvider - which seems to
work for most people...
i can send you the code if you are interested...
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications
(http://www.microsoft.com/mspress/books/9989.asp)
On Jun 11, 10:48 am, oriol.arde...@xxxxxxxxx wrote:
Hi,You would need a role provider.
I have an asp.net 2.0 application with forms authentication. I am
authenticating the users to an Active Directory Server with
ActiveDirectoryMembershipProvider which works as expected and users
get authenticated.
What I am trying to do is to get also the role information from the
Active Directory Server with the groups where the users belong to.
Is there any way to achieve it ? Can it be done by enabling some
provider in the role manager section of the web.config file ?
any help will be appreciated, thx in advance,
ori
WindowsTokenRoleProvider for using Active Directory groups as roles
AuthorizationStoreProvider - for Windows 2003 and ADAM SqlRoleProvider
for storing roles in SQL Server
More about WindowsTokenRoleProvider
http://msdn2.microsoft.com/en-us/library/system.web.security.windowsto
kenroleprovider.aspx
.
- References:
- Re: Forms Authentication - Active Directory
- From: Alexey Smirnov
- Re: Forms Authentication - Active Directory
- From: Dominick Baier
- Re: Forms Authentication - Active Directory
- Prev by Date: Re: Forms Authentication - Active Directory
- Next by Date: What characters are allowed by validateRequest page directive?
- Previous by thread: Re: Forms Authentication - Active Directory
- Next by thread: What characters are allowed by validateRequest page directive?
- Index(es):
Relevant Pages
|