| |||||||||
ActiveDirectoryConnectionProtection Enumeration.NET Framework version 2.0 Specifies the connection protection options supported by the ActiveDirectoryMembershipProvider class. Members
RemarksThe ActiveDirectoryConnectionProtection enumeration is used in an application's configuration file to set the protocol used to secure communications between an ActiveDirectoryMembershipProvider object and an Active Directory or Active Directory Application Mode server. The enumeration indicates the type of connection security the provider established based on the connectionProtection attribute of the membership configuration element. The connectionProtection attribute can be set only to either None or SignAndSeal. ExampleThe following code example shows a Web.config entry that configures an ActiveDirectoryMembershipProvider instance to use the SSL security protocol to connect to an Active Directory server. <configuration>
<connectionStrings>
<add name = "ADService"
connectionString = "LDAP://ldapServer/" />
</connectionStrings>
<system.web>
<membership defaultProvider = "AspNetActiveDirectoryMembershipProvider">
<providers>
<add name = "AspNetActiveDirectoryMembershipProvider"
type = "System.Web.Security.ActiveDirectoryMembershipProvider,
System.Web, Version=2.0.3600, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionProtection = "SignAndSeal" />
</providers>
</membership>
</system.web>
</configuration>
|
| ||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme