Hi all,

In the new cloud user model we have two attributes (Company Display Name
and Company ID) related to the organization which can be set by the user
when adding the organization. The company ID maps to the tenant domain in a
tenant.

There is a suggestion to remove the '.ext' part from the Company ID and
make it just a unique character sequence (i.e remove '*.com*' from '*abc.com
<http://abc.com>*' and just use '*abc*'). However since tenant domain must
be having a '.ext' this is not possible currently.

AFAIU there are two possible solutions for this;

   1. Use the tenant domain as it is in the back end and do the removal of
   the '.ext' in the front end. IMHO this is more error prone and will be
   difficult to maintain and will require lot of changes in the front end too.
   2. Remove the validation done for the '.ext' when creating the tenant.
   AFAIK the validation for the '.ext' in tenant domain only happens when the
   tenant is being created. After that we will take the tenant  domain as what
   ever behind the '@' symbol of a user name and use it. IMHO this is much
   cleaner  and easy to maintain than the first approach. However we will have
   to modify the tenant.mgt component [1] to do this (or extend it).

Suggestions/ thoughts are welcome..!

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt/

Thanks
SumedhaS
-- 
*Sumedha Kodithuwakku*
Software Engineer
WSO2 Inc. : wso2.com
lean . enterprise . middleware

Email: [email protected];  Mobile: +94 71 808 1124
Blog: http://sumedhask.blogspot.com/
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to