Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Afkham Azeez
On Wed, Sep 5, 2012 at 12:15 PM, Harshana Martin wrote: > Hi Shankar, > > On Wed, Sep 5, 2012 at 9:48 AM, Selvaratnam Uthaiyashankar < > shan...@wso2.com> wrote: > >> >> >> On Wed, Sep 5, 2012 at 9:46 AM, Harshana Martin wrote: >> >>> Hi Shankar, >>> >>> On Sep 5, 2012 8:44 AM, "Selvaratnam Uthai

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Harshana Martin
Hi Shankar, On Wed, Sep 5, 2012 at 9:48 AM, Selvaratnam Uthaiyashankar wrote: > > > On Wed, Sep 5, 2012 at 9:46 AM, Harshana Martin wrote: > >> Hi Shankar, >> >> On Sep 5, 2012 8:44 AM, "Selvaratnam Uthaiyashankar" >> wrote: >> > >> > >> > >> > On Wed, Sep 5, 2012 at 8:26 AM, Harshana Martin

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Selvaratnam Uthaiyashankar
On Wed, Sep 5, 2012 at 9:46 AM, Harshana Martin wrote: > Hi Shankar, > > On Sep 5, 2012 8:44 AM, "Selvaratnam Uthaiyashankar" > wrote: > > > > > > > > On Wed, Sep 5, 2012 at 8:26 AM, Harshana Martin > wrote: > >> > >> Hi Shankar, > >> > >> On Wed, Sep 5, 2012 at 7:41 AM, Selvaratnam Uthaiyashan

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Harshana Martin
Hi Shankar, On Sep 5, 2012 8:44 AM, "Selvaratnam Uthaiyashankar" wrote: > > > > On Wed, Sep 5, 2012 at 8:26 AM, Harshana Martin wrote: >> >> Hi Shankar, >> >> On Wed, Sep 5, 2012 at 7:41 AM, Selvaratnam Uthaiyashankar < shan...@wso2.com> wrote: >>> >>> I didn't understand your requirements fully.

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Selvaratnam Uthaiyashankar
On Wed, Sep 5, 2012 at 8:26 AM, Harshana Martin wrote: > Hi Shankar, > > On Wed, Sep 5, 2012 at 7:41 AM, Selvaratnam Uthaiyashankar < > shan...@wso2.com> wrote: > >> I didn't understand your requirements fully. Why do you need the tenant >> Id? Normally, you logged in using correct tenant usernam

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Harshana Martin
Hi Shankar, On Wed, Sep 5, 2012 at 7:41 AM, Selvaratnam Uthaiyashankar wrote: > I didn't understand your requirements fully. Why do you need the tenant > Id? Normally, you logged in using correct tenant username, and internally > it will handle it. We do not need to handle this at the dev studio

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Selvaratnam Uthaiyashankar
I didn't understand your requirements fully. Why do you need the tenant Id? Normally, you logged in using correct tenant username, and internally it will handle it. We do not need to handle this at the dev studio level. Can you explain what kind of operations you are trying to do? Shankar On Tues

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Harshana Martin
Hi Sanjeewa, On Sep 5, 2012 12:36 AM, "Sanjeewa Malalgoda" wrote: > > Hi, > How if we obtain super tenant carbon context and then get TenantManager. > if you have tenant manager then you can do same. Is there a way to get the super tenants carbon context outside of a carbon server? We need to ge

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Harshana Martin
Hi Ajith, On Sep 5, 2012 12:24 AM, "Ajith Vitharana" wrote: > > > > On Tue, Sep 4, 2012 at 11:53 PM, Harshana Martin wrote: >> >> Hi All, >> >> Can someone explain $Subject? >> >> We need to get the Tenant Id for C-App deployment to Servers from Dev Studio. Now that servers running in Service mod

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Sanjeewa Malalgoda
Hi, How if we obtain super tenant carbon context and then get TenantManager. if you have tenant manager then you can do same. Thanks. On Tue, Sep 4, 2012 at 11:54 AM, Ajith Vitharana wrote: > > > On Tue, Sep 4, 2012 at 11:53 PM, Harshana Martin wrote: > >> Hi All, >> >> Can someone explain $Sub

Re: [Dev] How to get the Tenant Id using Tenant Domain from an External Application

2012-09-04 Thread Ajith Vitharana
On Tue, Sep 4, 2012 at 11:53 PM, Harshana Martin wrote: > Hi All, > > Can someone explain $Subject? > > We need to get the Tenant Id for C-App deployment to Servers from Dev > Studio. Now that servers running in Service mode, C-App deployment also has > to be tenant specific. Therefore we need th