I'm trying to use a MultiplexingMembershipProvider as shown below, it should check the custom provider and then the episerver common provider but does not seem to work, any ideas on how I can get this working? This setup is required so that we can use a third party provider for relate+ and the episerver common provider to log in cms users into the ui.
Many Thanks
Richard Beakhouse
<membership defaultProvider="MultiplexingMembershipProvider" userIsOnlineTimeWindow="10"> <providers> <clear/> <!-- Comment the following lines when running on oracle. --> <add name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" provider2="EPiServerCommonMembershipProvider" provider1="EPiServerCommonIntegrationMembershipProvider"/> <!-- comment the lines above when running on oracle --> <!-- Uncomment the following lines when running on oracle. --> <!--<add provider1="OracleMembershipProvider" provider2="WindowsMembershipProvider" name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" />--> <!--Uncomment the lines above running oracle--> <add name="WindowsMembershipProvider" type="EPiServer.Security.WindowsMembershipProvider, EPiServer" deletePrefix="BUILTIN\" searchByEmail="true"/> <add name="SqlServerMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="EPiServerDB" requiresQuestionAndAnswer="false" applicationName="EPiServerSample" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/> <!--<add name="ActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ActiveDirectoryProviderConnection" connectionUsername="DOMAIN\ADServiceAccount" connectionPassword="password" enableSearchMethods="true" attributeMapUsername="sAMAccountName" />--> <add name="EPiServerCommonMembershipProvider" applicationName="EPiServerCommonApplication" type="EPiServer.Common.Web.Authorization.MembershipProvider, EPiServer.Common.Web.Authorization"/> <add name="EPiServerCommonIntegrationMembershipProvider" applicationName="EPiServerCommonApplication" type="EPiServer.Common.Web.Authorization.IntegrationMembershipProvider, EPiServer.Common.Web.Authorization" provider="ACustomMembershipProvider"/> <add name="ACustomMembershipProvider" type="CustomMembershipProvider" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="EPiServerCommonApplication" requiresUniqueEmail="true" passwordFormat="Clear" description="Stores and retrieves membership data Anite" /> </providers> </membership>
I'm trying to use a MultiplexingMembershipProvider as shown below, it should check the custom provider and then the episerver common provider but does not seem to work, any ideas on how I can get this working? This setup is required so that we can use a third party provider for relate+ and the episerver common provider to log in cms users into the ui.
Many Thanks
Richard Beakhouse
<membership defaultProvider="MultiplexingMembershipProvider" userIsOnlineTimeWindow="10"><providers>
<clear/>
<!-- Comment the following lines when running on oracle. -->
<add name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" provider2="EPiServerCommonMembershipProvider" provider1="EPiServerCommonIntegrationMembershipProvider"/>
<!-- comment the lines above when running on oracle -->
<!-- Uncomment the following lines when running on oracle. -->
<!--<add provider1="OracleMembershipProvider" provider2="WindowsMembershipProvider"
name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" />-->
<!--Uncomment the lines above running oracle-->
<add name="WindowsMembershipProvider" type="EPiServer.Security.WindowsMembershipProvider, EPiServer" deletePrefix="BUILTIN\" searchByEmail="true"/>
<add name="SqlServerMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="EPiServerDB" requiresQuestionAndAnswer="false" applicationName="EPiServerSample" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
<!--<add name="ActiveDirectoryMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ActiveDirectoryProviderConnection"
connectionUsername="DOMAIN\ADServiceAccount"
connectionPassword="password"
enableSearchMethods="true"
attributeMapUsername="sAMAccountName" />-->
<add name="EPiServerCommonMembershipProvider" applicationName="EPiServerCommonApplication" type="EPiServer.Common.Web.Authorization.MembershipProvider, EPiServer.Common.Web.Authorization"/>
<add name="EPiServerCommonIntegrationMembershipProvider" applicationName="EPiServerCommonApplication" type="EPiServer.Common.Web.Authorization.IntegrationMembershipProvider, EPiServer.Common.Web.Authorization" provider="ACustomMembershipProvider"/>
<add name="ACustomMembershipProvider" type="CustomMembershipProvider" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="EPiServerCommonApplication" requiresUniqueEmail="true" passwordFormat="Clear" description="Stores and retrieves membership data Anite" />
</providers>
</membership>