What does the AbleCommerceHttpModule do?
Posted: Fri Apr 03, 2009 11:13 am
I am in the process of integrating AbleCommerce with a CMS, another .NET solution.
The problem I am having is that when I add the AbleCommerceHttpModule to the httpModules section in the CMS web.config, the login for the CMS does not work. It uses .NET 2.0 Membership and has its own httpModules that are added to the web.config as well. (More details on this are posted at viewtopic.php?f=42&t=9545)
I would like to understand what the AbleCommerceHttpModule is doing, particularly with Membership, so I can forward that information on to the CMS vendor and hopefully find a work around for this login issue.
The CMS has aspnet_Membership, aspnet_Applications, aspnet_Roles, aspnet_Profiles, etc. SQL tables that it uses to manage its users (unlike AbleCommerce).
Here is a listing of the CMS’s membership-related web.config settings:
<membership defaultProvider="sitecore">
<providers>
<clear/>
<add name="sitecore" type="Sitecore.Security.SitecoreMembershipProvider, Sitecore.Kernel" realProviderName="sql" providerWildcard="%" raiseEvents="true"/>
<add name="sql" type="System.Web.Security.SqlMembershipProvider" connectionStringName="core" applicationName="sitecore" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="256"/>
<add name="switcher" type="Sitecore.Security.SwitchingMembershipProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/membership"/>
</providers>
</membership>
<roleManager defaultProvider="sitecore" enabled="true">
<providers>
<clear/>
<add name="sitecore" type="Sitecore.Security.SitecoreRoleProvider, Sitecore.Kernel" realProviderName="sql" raiseEvents="true"/>
<add name="sql" type="System.Web.Security.SqlRoleProvider" connectionStringName="core" applicationName="sitecore"/>
<add name="switcher" type="Sitecore.Security.SwitchingRoleProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/roleManager"/>
</providers>
</roleManager>
<profile defaultProvider="sql" enabled="true" inherits="Sitecore.Security.UserProfile, Sitecore.Kernel">
<providers>
<clear/>
<add name="sql" type="System.Web.Profile.SqlProfileProvider" connectionStringName="core" applicationName="sitecore"/>
<add name="switcher" type="Sitecore.Security.SwitchingProfileProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/profile"/>
</providers>
<properties>
<clear/>
<add type="System.String" name="SC_UserData"/>
</properties>
</profile>
Please share any insights into how AbleCommerceHttpModule may be effecting the other system’s login.
Thanks!
The problem I am having is that when I add the AbleCommerceHttpModule to the httpModules section in the CMS web.config, the login for the CMS does not work. It uses .NET 2.0 Membership and has its own httpModules that are added to the web.config as well. (More details on this are posted at viewtopic.php?f=42&t=9545)
I would like to understand what the AbleCommerceHttpModule is doing, particularly with Membership, so I can forward that information on to the CMS vendor and hopefully find a work around for this login issue.
The CMS has aspnet_Membership, aspnet_Applications, aspnet_Roles, aspnet_Profiles, etc. SQL tables that it uses to manage its users (unlike AbleCommerce).
Here is a listing of the CMS’s membership-related web.config settings:
<membership defaultProvider="sitecore">
<providers>
<clear/>
<add name="sitecore" type="Sitecore.Security.SitecoreMembershipProvider, Sitecore.Kernel" realProviderName="sql" providerWildcard="%" raiseEvents="true"/>
<add name="sql" type="System.Web.Security.SqlMembershipProvider" connectionStringName="core" applicationName="sitecore" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="256"/>
<add name="switcher" type="Sitecore.Security.SwitchingMembershipProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/membership"/>
</providers>
</membership>
<roleManager defaultProvider="sitecore" enabled="true">
<providers>
<clear/>
<add name="sitecore" type="Sitecore.Security.SitecoreRoleProvider, Sitecore.Kernel" realProviderName="sql" raiseEvents="true"/>
<add name="sql" type="System.Web.Security.SqlRoleProvider" connectionStringName="core" applicationName="sitecore"/>
<add name="switcher" type="Sitecore.Security.SwitchingRoleProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/roleManager"/>
</providers>
</roleManager>
<profile defaultProvider="sql" enabled="true" inherits="Sitecore.Security.UserProfile, Sitecore.Kernel">
<providers>
<clear/>
<add name="sql" type="System.Web.Profile.SqlProfileProvider" connectionStringName="core" applicationName="sitecore"/>
<add name="switcher" type="Sitecore.Security.SwitchingProfileProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/profile"/>
</providers>
<properties>
<clear/>
<add type="System.String" name="SC_UserData"/>
</properties>
</profile>
Please share any insights into how AbleCommerceHttpModule may be effecting the other system’s login.
Thanks!