Hi All,

With the recent changes to ActivationHandler (we removed it with CC
re-factoring effort), we observe a change is tenant loading in some of the
products. The tenant does not load with the login. But it starts to load
when you try to access some mgt console pages (for example, try to view the
service lists). This is because those AdminServices do a call to
TenantAxisUtils to get the tenantConfigContext, on which the tenant loading
also happens.

But this behavior is casing issues in some products (We have currently
identified only BPS). In BPS, the requirement is to load tenant when the
user is directed to the mgt console landing page. So the common solution is
to call the load tenant method after the successful login of tenant, like
earlier.

We found a possible place to plug in this call. In
AuthenticationAdmin#login method, after calling  onSuccessAdminLogin, we
can call the tenant loading part.

But my question is, is this approach correct? or do we have any other
suitable place to plug this call, other than AuthenticationAdmin?

Thanks,
Kishanthan.

-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to