Re: [Dev] Which is the correct username that we should set, when we start the tenant flow

2014-10-12 Thread Sameera Jayasoma
We don't normally set the username in such situations. It depends on the
code block that you are trying to execute. Sometimes username is not
available .

On Sat, Oct 11, 2014 at 7:08 PM, Samith Dassanayake sam...@wso2.com wrote:

 Hi,

 When we start the tenant flow which is the correct username that we should
 set? Fully qualified or tenant aware username?

 Thanks,
 Samith

 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.




-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Which is the correct username that we should set, when we start the tenant flow

2014-10-12 Thread Danushka Fernando
Hi Sameera
We are looking for the best practice here. Say we have the username and we
want to set it to Carbon Context. Which is the correct one. Tenant aware or
full qualified?

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Mon, Oct 13, 2014 at 10:52 AM, Sameera Jayasoma same...@wso2.com wrote:

 We don't normally set the username in such situations. It depends on the
 code block that you are trying to execute. Sometimes username is not
 available .

 On Sat, Oct 11, 2014 at 7:08 PM, Samith Dassanayake sam...@wso2.com
 wrote:

 Hi,

 When we start the tenant flow which is the correct username that we
 should set? Fully qualified or tenant aware username?

 Thanks,
 Samith

 --
 Best Regards

 Samith Dassanayake
 Software Engineer, WSO2 Inc.




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Which is the correct username that we should set, when we start the tenant flow

2014-10-11 Thread Samith Dassanayake
Hi,

When we start the tenant flow which is the correct username that we should
set? Fully qualified or tenant aware username?

Thanks,
Samith

-- 
Best Regards

Samith Dassanayake
Software Engineer, WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev