MultiplexingMembershipProvider, Copy user to Common at log in

Vote:
 

Hi,

We're using the MultiplexingRoleProvider (provider1="EPiServerCommonRoleProvider" provider2="WindowsRoleProvider") and MultiplexingIntegrationMembershipProvider (provider1="EPiServerCommonMembershipProvider" provider2="WindowsMembershipProvider"), and has set roleToSynchronize1 to "1*". The site has multiple sites (one for each country, since the content is quite different).

When a user is added to the Common database when logging in through the WindowsRoleProvider/WindowsMembershipProvider, the user gets the en-US culture, independent of the culture that is set for the site that the user logs on to.

How do I configure our setup so that the user gets the same culture in the Common database as the site the user has logged on?

// Kind regards, Torbjörn

#47738
Feb 11, 2011 7:29
Vote:
 

You could make your own Integrator and do set the language in the SynchronizeUser method

#47741
Edited, Feb 11, 2011 8:36
Vote:
 

Yeah, that's a solution. I thought though that there would be a setting for that.

 

// Regards, Torbjörn

#48730
Feb 14, 2011 13:03
Vote:
 

I'm thinking of writing my own Integrator. But I can't find where the Integrator/SynchronizeUser is called/configured. 

I'd be very thankful if someone could point me in the right direction.

Thanks, Josef

#56624
Jan 31, 2012 10:00
Vote:
 

  <system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="InitializationModule" type="EPiServer.Framework.Initialization.InitializationModule, EPiServer.Framework" preCondition="managedHandler"/> <add name="FirstBeginRequestModule" type="EPiServer.Web.InitializationModule, EPiServer" preCondition="managedHandler"/> <add name="Initializer" type="EPiServer.Scheduler.Initializer, EPiServer.Scheduler" preCondition="managedHandler"/> <add name="WorkflowRuntime" type="EPiServer.WorkflowFoundation.WorkflowSystem, EPiServer.WorkflowFoundation" preCondition="managedHandler"/> <add name="UrlRewriteModule" type="EPiServer.Web.UrlRewriteModule, EPiServer" preCondition="managedHandler"/> <add name="ShellRoutingModule" type="EPiServer.Shell.Web.Routing.ShellRoutingModule, EPiServer.Shell"/> <add name="EPiServerCommon" type="EPiServer.Common.Web.HttpModule, EPiServer.Common.Web" preCondition="managedHandler"/> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler"/>

<add name="EPiServerCommunity" type="EPiServer.Community.Web.Administration.CommunityModule, EPiServer.Community.Web.Administration" preCondition="managedHandler"/>

<add name="EPiServerMail" type="EPiServer.Mail.Core.Web.MailModule, EPiServer.Mail.Core.Web" preCondition="managedHandler"/>

 
    <!-- <add name="EPiServerCommonWindowsAuthenticationIntegration" type="EPiServer.Common.Web.Authorization.IntegrationHttpModule, EPiServer.Common.Web.Authorization" preCondition="managedHandler" />--> 
<add name="EPiServerCommonWindowsAuthenticationIntegration" type="Itera.WinAdSecurity.OwnIntegrationHttpModule, Itera.WinAdSecurity" preCondition="managedHandler"/> 

    

#56625
Edited, Jan 31, 2012 10:02
Vote:
 

Format got a bit off :)

#56626
Jan 31, 2012 10:03
Vote:
 

Great, thanks for quick reply. I'll try to get it working. Is it posible to just extend existing module with own code, or do I have to create my own module from scratch by reflecting existing binaries? 

#56627
Jan 31, 2012 10:15
Vote:
 

Think you need to do some reflection, but most can be used as is.

Dont remeber all the details, sorry

#56628
Jan 31, 2012 10:18
Vote:
 

Perhaps it's possible to just hook the SecurityHandler CreatedUser / UpdatedUser events and set the culture there, so you don't have to mess around with the integrator.

#56632
Jan 31, 2012 10:58
Vote:
 

Magnus, thank you for your input. I actually hijacked this thread to find out more about how to override the Integrator. My problem is different than the original post about culture. I posted my problem in a new thread. Perhaps you can read it and give me your thoughts? I don't know if the Integrator is the correct path to follow...?

#56633
Jan 31, 2012 11:05
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.