Hi, [Edited subject]
I am adding this in case anyone else has this same question, and is seeking an answer at any point. With the offline chat I had with Prabath, apparently this is something we could take off from the code, and has been added with no apparent reason, but to only denote the user's presence in a tenant domain. On Fri, Apr 11, 2014 at 4:32 PM, Shani Ranasinghe <[email protected]> wrote: > > Hi, > > This was probably a discussion that had taken place even before I joined. > If so please point me to it so that I could learn the intention of it. > > When we set the user name to be an email, when a tenant registers and a > tenant user is created, the tenant user's user name has the format <user > -email> @<tenant domain>. for an e.g. it looks like > [email protected]@test.comwhere abc@gmailis the user's email and > test.com is the tenant domain. > > I understand that this is as designed. But it looks a bit awkward to have > that two @ signs representation two domains in a single user name. To my > little experience I have in this industry, I have not seen any place that > handles user's in this fashion. Usually in windows, when you have > different domains, it let's you choose which domain you need to log into > based on the domain you enter before the user name e.g. <domain>/<user > name> It let's you choose this at the log in page. > > So I have two questions, > > 1) I understand that when the user name is supposed to be a name, then we > could append the tenant domain to the user name, but then it looks like an > email, why are we doing this? rather than having a domain/<user name> > format? When I log is using my domain, why would i need to see which domain > I belong to, I already know? > > 2) When the user name is set to email, why are we not checking if the user > name is of the type an email (if the property is enabled), and avoid > appending the domain, but keeping the domain in the context where the rest > of the login details are kept? We can basically not show this at the UI > level correct? we can either let the user enter his domain in a separate > field rather than appending it to the user name? > > This is just a wild thought I had, and please do correct me at any point. > > -- > Thanks and Regards > *, Shani Ranasinghe* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 77 2273555 > linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab > -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
