Multitenancy Issue while logging in second time

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Multitenancy Issue while logging in second time

Rahul Vangari
Hi all,

I'm working on multi-tenancy. But there is one major issue which is not
letting me login once I logout. So, the scenario is suppose I have 2
tenants tenant_1 and tenant_2. Now I login using tenant_1, perform
transaction and then logout. Now when I again try to login using
tenant_1 or tenant_2 I'm not able to login because when I query using
delegator to fetch the tenants from one of my entity I'm getting null
which shouldn't be the case. But when I explicitly establish a database
connection I'm able to login. So, my question is how do I make sure that
delegator is used by the request when I login the second time?

--
Regards,
Rahul Vangari.
vnnogile Solutions Private Limited
www.vnnogile.com