One more thing; this is applicable to webapps hosted by any tenant,
including super tenant.

Azeez

On Wed, Mar 16, 2011 at 7:57 AM, Afkham Azeez <[email protected]> wrote:

>
>
> On Wed, Mar 16, 2011 at 7:50 AM, Sanjiva Weerawarana <[email protected]>wrote:
>
>> Azeez what does this mean in terms of access? Does this mean any basically
>> that any user from any tenant can access?
>
>
> Yes.
>
>
>>
>> I think we may need a few levels of access:
>>
>>    1. by users from the tenant deploying the webapp
>>    2. by users from any tenant
>>    3. by random people on the net after they register at a
>>    Stratos-managed user store for my app (and this has to work with options
>>    like "allow any open ID", "allow any GoogleApps user" etc.)
>>    4. by random people on the net without access credentials (default for
>>    a Stratos webapp?)
>>
>> I believe the param below supports (2)? I assume (1) is easy but we need a
>> param for that too right? What can we do to support (3)?
>>
>
> If this param is not added to a tenant's webapp, it means only users from
> that tenant can access that webapp, if that webapp has been secured using
> HTTP basic or form auth. Yes, adding this parameter allows you to do (2). I
> think (3) should simply work our of the box if this param is added. Dimuthu
> may be able to provide a better answer to this.
>
> There is nothing to do for (4) since if the webapp is public, and there is
> no authentication, anybody can simply invoke it.
>
>
>>
>> I can see this is conceptually at a Carbon level but I'm not clear how
>> that works .. we don't have self-registration by default in Carbon - so
>> which of the above scenarios are supported in Carbon webapps?
>>
>
> This does not apply for standalone AS, since MT is not exposed at product
> level, hence the concept of SaaS does not apply.
>
>
>>
>> Sanjiva.
>>
>> On Tue, Mar 15, 2011 at 7:27 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> To do this, you simply need to add the following line to the top of the
>>> target webapp's web.xml file
>>>
>>>     <context-param>
>>>         <param-name>carbon.enable.saas</param-name>
>>>         <param-value>true</param-value>
>>>     </context-param>
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation; 
>>> **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **[email protected]* <[email protected]>* cell: 
>>> <%2B94%2077%203320919><%2B94%2077%203320919>+94
>>> 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Sanjiva Weerawarana, Ph.D.
>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>> email: [email protected]; phone: <%2B94%2011%20763%209614>+94 11 763 9614;
>> cell: <%2B94%2077%20787%206880>+94 77 787 6880 |
>> <%2B1%20650%20265%208311>+1 650 265 8311
>> blog: http://sanjiva.weerawarana.org/
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to