Configuring the Switching Providers for Leads (Pre-Sitecore 9)
Enabling the Switching Providers
For the security providers to work together with the standard Sitecore security providers enable the Switching Providers.
Enabling the Providers
For the security providers to work together with the standard Sitecore security providers (and other custom providers) the following changes should be made in the web.config:
- to the Sitecore » switchingProviders » membership element (it must come before the "sql" definition in this group)
<provider providerName="salesforceLead" storeFullNames="false" wildcard="%" domains="salesforceLead" isMultiRole="true" />
- to the sitecore » switchingProviders » roleManager element (it must come before the "sql" definition in this group)
<provider providerName="salesforceLead" storeFullNames="false" wildcard="%" domains="salesforceLead" />
- to the Sitecore » switchingProviders » profile element (it must come before the "sql" definition in this group)
<provider providerName="salesforceLead" storeFullNames="false" wildcard="%" domains="salesforceLead" />
Please view the Low-Level Sitecore Security and Custom Providers article for details:
https://sdn.sitecore.net/Articles/Security/Low_level_Sitecore_Security_and_Custom_Providers.aspx
Next Step
Configuring the Membership Provider for Leads (Pre-Sitecore 9)
Steps
- Adding a Salesforce Domain for Leads (Pre-Sitecore 9)
- Configuring ASP.NET Security Providers for Leads (Pre-Sitecore 9)
- Configuring the Switching Providers for Leads (Pre-Sitecore 9)
- Configuring the Membership Provider for Leads (Pre-Sitecore 9)
- Configuring the Role Provider for Leads (Pre-Sitecore 9)
- Configuring the Profile Provider for Leads (Pre-Sitecore 9)
- Extending the Sitecore Profile Item Template for Leads (Pre-Sitecore 9)
- Configuring UniqueKeyProperty for Leads (Optional) (Pre-Sitecore 9)
- Configuring UniqueKeyCaseSensitiveProperty for Leads (Optional) (Pre-Sitecore 9)