Great, thanks for verifying supun. Regards, /Nuwan
On Tue, Sep 4, 2012 at 11:10 AM, Supun Malinga <[email protected]> wrote: > Hi, > > Tested this out after Nuwan's fix for reading web-context params from > jaggery.conf. SaaS mode works fine now for jaggery apps. > You have to add, "carbon.enable.saas":"x" parameter to jaggery.conf. > x- saas rules. > > Sample jaggery app attached herewith. Deploy in a tenant and goto url > http://172.16.65.1:9763/t/tenant.org/jaggeryapps/sample/bar/private.jag<http://172.16.65.1:9763/t/malinga.org/jaggeryapps/sample/bar/private.jag> > . > Then you will be prompted a basic auth and you can login from any tenants' > creds. > > thanks, > > On Wed, Aug 29, 2012 at 4:40 PM, Nuwan Bandara <[email protected]> wrote: > >> Yeap +1 >> >> >> On Wed, Aug 29, 2012 at 4:36 PM, Supun Malinga <[email protected]> wrote: >> >>> Hi Nuwan, >>> >>> This is a normal web.xml context property. As we discussed this can be >>> defined from jaggery.conf. So we should be ablr to have saas mode for >>> jaggery apps as well. Will test out and update. >>> >>> thanks, >>> >>> >>> On Wed, Aug 29, 2012 at 3:17 PM, Nuwan Bandara <[email protected]> wrote: >>> >>>> You can configure Basic auth in jaggery.conf, however we haven't add >>>> enableSaaSMode property into jaggery conf, since its not a common >>>> configuration for all jaggery users. >>>> >>>> Regards, >>>> /Nuwan >>>> >>>> >>>> On Wed, Aug 29, 2012 at 2:59 PM, Tharindu Mathew <[email protected]>wrote: >>>> >>>>> What I meant by "seen" was not the web app appearing on each tenant's >>>>> list, but rather being able to see (and access) that an app is there. >>>>> >>>>> We are trying to figure out the way to get MT working for our jaggery >>>>> app. Making it a SaaS app, will allow us to work through one jaggery app >>>>> for all tenants. >>>>> >>>>> So, my initial question still remains. Is the SaaS mode supported in >>>>> jaggery? I did not see it in the jaggery.conf file located at [1]. >>>>> >>>>> [1] - http://jaggery.io/apidocs/jagconf.jag >>>>> >>>>> On Wed, Aug 29, 2012 at 2:35 PM, Supun Malinga <[email protected]>wrote: >>>>> >>>>>> Hi Tharindu, >>>>>> >>>>>> SaaS mode should be same as other app types(normal webapps, jaggery). >>>>>> I believe you have basic auth secured your webapp and trying to >>>>>> access the webapp from another tenant?. >>>>>> Also please check if you have specified the SaaS rules correctly. >>>>>> >>>>>> thanks, >>>>>> >>>>>> On Wed, Aug 29, 2012 at 2:20 PM, Nuwan Bandara <[email protected]>wrote: >>>>>> >>>>>>> Well, what do you mean by SaaS mode ? If I understood correctly, you >>>>>>> are looking for a multi-tenanted webapp. In that case you have to write >>>>>>> your webapp to handle tenants and have multitenancy. AFAIK, there is no >>>>>>> way >>>>>>> to automatically enable MT for a webapp. whats being done is that the >>>>>>> same >>>>>>> webapp is deployed for different tenants. >>>>>>> >>>>>>> Regards, >>>>>>> /Nuwan >>>>>>> >>>>>>> On Wed, Aug 29, 2012 at 2:09 PM, Tharindu Mathew >>>>>>> <[email protected]>wrote: >>>>>>> >>>>>>>> Isn't there a SaaS mode in web apps that enables it for all tenants? >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Aug 29, 2012 at 2:05 PM, Nuwan Bandara <[email protected]>wrote: >>>>>>>> >>>>>>>>> its as same as webapps in AS. if you need a particular jaggery app >>>>>>>>> for the tenant, you need to deploy that app in to that tenant. >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> /Nuwan >>>>>>>>> >>>>>>>>> >>>>>>>>> On Wed, Aug 29, 2012 at 1:56 PM, Tharindu Mathew < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> My jaggery app can't be seen by tenants. How do I enable SaaS >>>>>>>>>> mode in jaggery? or is there any other workaround for this? >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Regards, >>>>>>>>>> >>>>>>>>>> Tharindu >>>>>>>>>> >>>>>>>>>> blog: http://mackiemathew.com/ >>>>>>>>>> M: +94777759908 >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> *Thanks & Regards, >>>>>>>>> >>>>>>>>> Nuwan Bandara >>>>>>>>> Associate Technical Lead & Member, MC, Development Technologies >>>>>>>>> WSO2 Inc. - lean . enterprise . middleware | http://wso2.com >>>>>>>>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 >>>>>>>>> 11 763 9629 >>>>>>>>> * >>>>>>>>> <http://www.nuwanbando.com/> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> >>>>>>>> Tharindu >>>>>>>> >>>>>>>> blog: http://mackiemathew.com/ >>>>>>>> M: +94777759908 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Thanks & Regards, >>>>>>> >>>>>>> Nuwan Bandara >>>>>>> Associate Technical Lead & Member, MC, Development Technologies >>>>>>> WSO2 Inc. - lean . enterprise . middleware | http://wso2.com >>>>>>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 >>>>>>> 763 9629 >>>>>>> * >>>>>>> <http://www.nuwanbando.com/> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Dev mailing list >>>>>>> [email protected] >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Supun Malinga, >>>>>> >>>>>> Software Engineer, >>>>>> WSO2 Inc. >>>>>> http://wso2.com >>>>>> http://wso2.org >>>>>> email - [email protected] <[email protected]> >>>>>> mobile - 071 56 91 321 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> >>>>> Tharindu >>>>> >>>>> blog: http://mackiemathew.com/ >>>>> M: +94777759908 >>>>> >>>>> >>>> >>>> >>>> -- >>>> *Thanks & Regards, >>>> >>>> Nuwan Bandara >>>> Associate Technical Lead & Member, MC, Development Technologies >>>> WSO2 Inc. - lean . enterprise . middleware | http://wso2.com >>>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 >>>> 9629 >>>> * >>>> <http://www.nuwanbando.com/> >>>> >>> >>> >>> >>> -- >>> Supun Malinga, >>> >>> Software Engineer, >>> WSO2 Inc. >>> http://wso2.com >>> http://wso2.org >>> email - [email protected] <[email protected]> >>> mobile - 071 56 91 321 >>> >>> >> >> >> -- >> *Thanks & Regards, >> >> Nuwan Bandara >> Associate Technical Lead & Member, MC, Development Technologies >> WSO2 Inc. - lean . enterprise . middleware | http://wso2.com >> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 >> 9629 >> * >> <http://www.nuwanbando.com/> >> > > > > -- > Supun Malinga, > > Software Engineer, > WSO2 Inc. > http://wso2.com > http://wso2.org > email - [email protected] <[email protected]> > mobile - 071 56 91 321 > > -- *Thanks & Regards, Nuwan Bandara Associate Technical Lead & Member, MC, Development Technologies WSO2 Inc. - lean . enterprise . middleware | http://wso2.com blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 9629 * <http://www.nuwanbando.com/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
