Configuring the Switching Providers for Leads
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 App_Config/Sitecore.config file:
- to the sitecore » switchingProviders » membership element (the order is not important)
<provider providerName="salesforceLead" storeFullNames="false" wildcard="%" domains="salesforceLead" isMultiRole="true" />
- to the sitecore » switchingProviders » roleManager element (the order is not important)
<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
Steps
- Adding a Salesforce Domain for Leads
- Configuring ASP.NET Security Providers for Leads
- Configuring the Switching Providers for Leads
- Configuring the Membership Provider for Leads
- Configuring the Role Provider for Leads
- Configuring the Profile Provider for Leads
- Extending the Sitecore Profile Item Template for Leads
- Configuring UniqueKeyProperty for Leads (Optional)
- Configuring UniqueKeyCaseSensitiveProperty for Leads (Optional)