Use Active Directory Application Mode (Adam) in. NET 2.0)

Source: Internet
Author: User
Tags connectionstrings

Active Directory Application Mode (ADAM), due to its directory support and security, scalability, and the rich integration supported by the local Lightweight Directory Access Protocol (LDAP, the Active Directory Service in Microsoft Windows 2000 and Microsoft Windows Server 2003 is the fastest growing directory service for Intranet and exists. The Active Directory in Windows Server 2003 is built on this success and supports many new LDAP features for information technology (IT) Professionals and application developers. Active Directory Application Mode is one of these new features. Organizations that want to integrate applications with directory services, independent software vendors (ISVs), and developers can now use an additional feature in Active Directory that provides many advantages.

For more information about Adam, see the Adam step-by-step guide, which contains the installation and management of Adam. Active Directory Federation (ADFs) is one of the most important components of Windows Server 2003 R2. Adam can be integrated with ADFs. There is an article in The msdn magazine about the development of the Active Directory authentication service.

The. NET 2.0 membership member management system provides an ad provider: activedirectorymembershipprovider

 

It is very simple to use activedirectorymembershipprovider:


Web. config settings:

<Connectionstrings>

<Add name ="Adamconnectionstring"Connectionstring =" LDAP: // SERVERNAME: 389/ou = Ssusers , DC = Ss_at "/>

</Connectionstrings>

<System. Web>

<Membership defaultprovider = "myadammembershipprovider">

<Providers>

<Add name = "myadammembershipprovider" type = "system. Web. Security. activedirectorymembershipprovider, system. Web, version = 2.0.0 . 0, culture = neutral, publickeytoken = B 03f 5f 7f 11d 50a 3A "Connectionstringname ="Adamconnectionstring"Connectionusername =" cn = adamadmin, ou = ssusers, dc = ss_at "connectionpassword =" youradminuserpassword "connectionprotection =" NONE "enablesearchmethods =" true "enablepasswordreset =" false "placement =" false "minrequiredpasswordlength =" 6 "placement =" 0 "/>

</Providers>

</Membership>

</System. Web>

Description:

  1. The server name is the name of the machine where Adam is installed.

  2. Make sure that the connectionusername user has the Administrator permission.

For details, see the codeproject article: Working with Active Directory Application Mode (Adam) in. NET 2.0.

WS-Federation for Apache 2.0 Toolkit: http://www.sourceid.org/projects/ws-federation-apache
Windowssharepointservices and SharePoint Portal Server 2003 support boundaries for Active Directory federated services: http://support.microsoft.com/kb/912492/zh-cn
Technical video: Citrix and ADFs: http://www.jaytomlin.com/blog/2006/12/technical_video_citrix_and_adf_1.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.