Re: [Dev] Identifying the tenant domain when user tries to login using email in MT mode.

2013-05-21 Thread Afkham Azeez
This is not easy to do. Users with the same email can register themselves
as different tenants, so our model does not allow directly deriving the
tenant from the email address. At least it is not straightforward.

Azeez

On Mon, May 20, 2013 at 11:14 AM, Vijayaratha Vijayasingam
wrote:

> Hi all;
> We have feature, which  enables user to login using his email. If that
> user is a tenant and if he tries to login using his email, how we identify
> the tenant domain?
> eg: user testUser has an email, testu...@yahoo.com, and he is a tenant
> with domain, foo.com.
> If he tries to login the system as;
> testu...@yahoo.com@foo.com
>
> How we identify the domain?
>
> Thanks
>
>
> --
> -Ratha
> mobile: (+94)755906608
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Identifying the tenant domain when user tries to login using email in MT mode.

2013-05-19 Thread Vijayaratha Vijayasingam
Hi all;
We have feature, which  enables user to login using his email. If that user
is a tenant and if he tries to login using his email, how we identify the
tenant domain?
eg: user testUser has an email, testu...@yahoo.com, and he is a tenant with
domain, foo.com.
If he tries to login the system as;
testu...@yahoo.com@foo.com

How we identify the domain?

Thanks


-- 
-Ratha
mobile: (+94)755906608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev