November Happy Hour will be moved to Thursday December 5th.

MultiplexingMembershipProvider EPiServerCommonIntegrationMembershipProvider CustomMembershipProvider

Vote:
 

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>

 

#32099
Aug 21, 2009 16:33
Vote:
 
This blog post by Tom Stenius should get you on the right track setting up multiplexing with EPiServer Common integration: http://blog.tomstenius.com/2009/04/episerver-community-role-and-membership.html
#32898
Sep 23, 2009 9:16
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.