Authentication Task and Object Mapping from COM to the .NET Framework
This topic describes how Authentication System objects implemented by using ASP for Commerce Server 2002 and earlier releases map to similar objects in the Commerce Server 2007 Class Library based on ASP.NET.
Object Mapping
ASP |
ASP.NET |
---|---|
AuthManager AuthenticationInfo AuthTicket ProfileTicket |
Commerce Server 2007 Membership Provider |
AuthFilter ISAPI (Custom) |
Commerce Server 2007 Membership Provider |
AuthFilter ISAPI (Windows) |
Active Directory Federation Services (ADFS) |
Note
The obsolete Commerce Server authentication object AuthManager and the ISAPI filter AuthFilter are still included with Commerce Server for backward compatibility, but their continued use is discouraged.
Task Mapping
Commerce Server 2007 includes a membership provider that integrates Commerce Server profiles with Microsoft ASP.NET 2005 logon and registration controls. By adding a section to the Web.config file, you can take advantage of the Web controls and authentication functionality that are built in to ASP.NET, while using the data that is stored in the Commerce Server user profile.
Specify the method of authentication in the <authentication> section of the Web.config file for your application. Set the value of the mode attribute of the authentication element to one of the following: "Windows", "Forms", "Passport", and "None". By default, the value is set to "Windows".