As mentioned user store domain, username and the tenant domain.

Thanks,
Malithi.

On Fri, Nov 28, 2014 at 10:48 AM, Harsha Thirimanna <[email protected]>
wrote:

> What you mean by three parameter ?
>
>
> *Harsha Thirimanna*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> * <http://www.apache.org/>*
> *email: **[email protected]* <[email protected]>* cell: +94 71 5186770  ,
> +94 *
> *774617784twitter: **http://twitter.com/
> <http://twitter.com/afkham_azeez>*
> *harshathirimannlinked-in: **http:
> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>
> *Lean . Enterprise . Middleware*
>
>
> On Fri, Nov 28, 2014 at 10:40 AM, Malithi Edirisinghe <[email protected]>
> wrote:
>
>> Hi All,
>>
>> I've been looking for the tenant domain separator character for a very
>> similar usecase mentioned by Danushka. I think for the full qualified
>> username we have to add the user store domain as well. So that a user is
>> identified by the user store domain, username and the tenant domain.
>> I think it would be better if we can have a util method to get the full
>> qualified username once we give all three parameters as well.
>>
>> Thanks,
>> Malithi.
>>
>>
>> On Fri, Nov 28, 2014 at 10:28 AM, Nirmal Fernando <[email protected]>
>> wrote:
>>
>>> +1 from me.
>>>
>>> On Fri, Nov 28, 2014 at 10:05 AM, Danushka Fernando <[email protected]>
>>> wrote:
>>>
>>>> The issue with MultitenantUtils is that we can use it to
>>>> getTenantAwareUsername which means username without tenant domain. But
>>>> there is no method for get full username when we have username and tenant
>>>> domain. Shouldn't we have that kind of util too.
>>>>
>>>> Thanks & Regards
>>>> Danushka Fernando
>>>> Software Engineer
>>>> WSO2 inc. http://wso2.com/
>>>> Mobile : +94716332729
>>>>
>>>> On Fri, Nov 28, 2014 at 10:03 AM, Nirmal Fernando <[email protected]>
>>>> wrote:
>>>>
>>>>> On a related note, please use existing Utils methods without
>>>>> introducing new logic with respect to finding tenant domain from a user
>>>>> name etc.
>>>>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.utils/4.2.0/src/main/java/org/wso2/carbon/utils/multitenancy/MultitenantUtils.java
>>>>>
>>>>> On Fri, Nov 21, 2014 at 10:23 AM, Malithi Edirisinghe <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I would like to know whether there is a constant defined for the
>>>>>> tenant domain separator character '@' in the kernel.
>>>>>>
>>>>>> I found a constant as ROLE_TENANT_DOMAIN_SEPARATOR in CarbonConstants
>>>>>> and the doc comment says it's for handling shared group operations, and
>>>>>> there must be a separator to separate role name and tenant domain. It 
>>>>>> seems
>>>>>> that this constant is defined for some other purpose. Other than that I
>>>>>> couldn't find any other constant defined for the tenant domain separator
>>>>>> and I think we should have one.
>>>>>>
>>>>>> Kindly would like to clarify on this.
>>>>>>
>>>>>> Thanks,
>>>>>> Malithi.
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Malithi Edirisinghe*
>>>>>> Senior Software Engineer
>>>>>> WSO2 Inc.
>>>>>>
>>>>>> Mobile : +94 (0) 718176807
>>>>>> [email protected]
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Thanks & regards,
>>>>> Nirmal
>>>>>
>>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>>> Mobile: +94715779733
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>>
>> *Malithi Edirisinghe*
>> Senior Software Engineer
>> WSO2 Inc.
>>
>> Mobile : +94 (0) 718176807
>> [email protected]
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to