Nexussim Lements
Nexussim Lements

Reputation: 787

Hybris how to have different customers by website with same uid?

We want to have separate customers in a hybris instance with 4 websites. "Separate" means that :

It is possible to customize Hybris in order to have in the same tenant/DB multiple users with the same ID but in different sites?

In the case that this is possible, which are the steps (in broad terms) needed to achieve this?

Upvotes: 0

Views: 480

Answers (1)

Raushan Kumar
Raushan Kumar

Reputation: 1248

Possible solution would be:

  1. create or register customer with appending site uid so resultant customer uid will be unique(customeruid+"_"+"siteuid")
  2. during login user need to put only customerid so this need customization and to customize it need to extend CoreAuthenticationProvider and change it to proper user.

Upvotes: 1

Related Questions