On Tue, Sep 3, 2013 at 11:34 AM, Danushka Fernando <[email protected]>wrote:
> Hi > Is Logged in user related to an appfactory application? I don't think so. > Y not, there are many places we need logged in user in the application. > And for other things we could have this object in application space rather > than session space I think. WDYT? > Earlier, I thought the same thing. But if we are gonna include application owners , we need to do it in the application scope. IMO, It is like this, when application home is loaded for a particular application APPLICATION_INFO object is created and put to the session with details I mentioned in the first mail of this thread. So every time switch applications ,relevant APPLICATION_INFO object is in the session. WDYT? > > > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > > On Tue, Sep 3, 2013 at 11:05 AM, 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] <[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] <[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 >> >> > -- *Asanka Dissanayake Software Engineer* *WSO2 Inc. - lean . enterprise . middleware | wso2.com* * email: [email protected] <[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
