Tenant Id and tenant domain are already readily accessible from the 
carboncontext.   Why woudl you replicate the information?

Username is also in carboncontext, but for some reason not working for me and 
may need to be fixed

/Chris


On Sep 3, 2013, at 1:35, Asanka Dissanayake <[email protected]> wrote:

> Hi,
> What is the best place to create this? IMHO,  we should create this and put 
> to the session when the application home is loaded.
> Any comments?
> 
> 
> 
> 
> On Fri, Aug 30, 2013 at 12:04 PM, Asanka Dissanayake <[email protected]> wrote:
>> Hi,
>> I think it is better to have $subject in appfactory. ATM there is no common 
>> place to get info of the application.Now it is bit hard to keep tracks on 
>> where are the details we want , for example Logged in user, tenant id, 
>> tenant domain. 
>> I will start implementing it with a object called "APPLICATION_INFO" which 
>> is in the session , and have planned to store following information.
>> 
>> -Logged in User
>> -Application Owners
>> -Tenant domain
>> -Tenant Id
>> 
>> Please add if I have missed anything.
>> 
>> cheers!!
>> Asanka D
>> 
>> -- 
>> 
>> Asanka Dissanayake
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>> 
>> email: [email protected],   blog: cyberwaadiya.blogspot.com, 
>> asankastechtalks.wordpress.com  mobile: +94 71 8373821
> 
> 
> 
> -- 
> 
> Asanka Dissanayake
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
> 
> email: [email protected],   blog: cyberwaadiya.blogspot.com, 
> asankastechtalks.wordpress.com  mobile: +94 71 8373821
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to