Try following steps: 1) Create 2 tenant T1 and T2 2) Map T1 with t1.xyz.com 3) Map T2 with t2.xyz.com 4) Have an entry of t1.xyz.com and t2.xyz.com in your hosts file to point to your ofbiz instance 5) open t1.xyz.com/webtools 6) Login 7) Now open t2.xyz.com/webtools from either different browser or same browser 8) It picks up the T1 delegator because it was set in the ServletContext which is application wide.
On Tue, Dec 24, 2013 at 6:25 AM, Lawrence Liu <[email protected]> wrote: > It also works fine on myside using different tabs in chrome. > 2013-12-24 上午3:05于 "Deepak Agarwal" <[email protected]>写道: > > > Hello, > > > > ContextFilter sets the delegator in ServletContext and therefore > whichever > > tenant gets login first, remains the boss and all of the other tenants > gets > > that delegator only. > > > > Should delegator, security and authz not be set at session level only? > > > > -- > > Thanks, > > Deepak Agarwal, > > > > Mobile: +91 9501190044 > > > -- Thanks, Deepak Agarwal, Paxcel Technologies Pvt Ltd. Hartron Complex, Sector 18, Gurgaon, India. E-Mail: [email protected] Mobile: +91 9501190044
