Hi all, In a UI bundle, how could i determine whether I am super-tenant or not?
1. "true".equals(request.getSession().getAttribute(IS_MASTER_TENANT)) ? 2. MultitenantUtils.getTenantDomainFromRequestURL(request.getRequestURI()) == null ? And, most importantly, does this return same results for standalone? In other words this should treat the standalone (product deployment) as a tenant-zero only deployment for somethings to work properly. As of now, 1 does not work in Product Mode and 2 doesn't seem to work @ all, after adding the LB for some reason. So, is there a better way? and why don't we make this some utility method, instead of using our own way to figure this out? Thanks, Senaka. -- *Senaka Fernando* Associate Technical Lead & Product Manager - WSO2 G-Reg; WSO2, Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://www.linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
