Hi Dulitha,
expose=true is used to expose it by default into the global namespace. i.e.
if you want to have a global reference like XMLHTTPRequest, then only you
need to have expose=true.
Otherwise, you can use it via require('sso'). Anyway, for the third party
extensions, we use it as false.
On Mon, Feb 2, 2015 at 1:41 PM, Dulitha Wijewantha <[email protected]> wrote:
> The issue is due to using ' expose="true" '. What is the correct way to
> expose a host object as well as script files? For example - in UUID module,
> ' namespace="$uuid" expose="false" ' are used. Can you please clarify this?
>
> Cheers~
>
> On Mon, Feb 2, 2015 at 9:48 AM, Ruchira Wageesha <[email protected]> wrote:
>
>> Hi Prabath,
>>
>> It has already been merged into jaggery-extensions and will be released
>> with jaggery-extensions once the dependencies are released. If any fix is
>> needed, please do it asap.
>>
>> [1] https://github.com/wso2/jaggery-extensions/tree/master/sso
>>
>> /Ruchira
>>
>> On Mon, Feb 2, 2015 at 8:09 AM, Prabath Abeysekera <[email protected]>
>> wrote:
>>
>>> Hi Ruchira,
>>>
>>> Can we please have this reviewed and merged into jaggery-extensions
>>> repository some time soon?
>>>
>>> On a separate note, Chan came across some issues while trying to
>>> integrate the SSO module into product, as there were some incompatibilities
>>> seen between this and the one used in API-Manager. @Chan, would you be able
>>> to elaborate what the issues you'd notice and the proposed fix (if there's
>>> one already)?
>>>
>>> Cheers,
>>> Prabath
>>>
>>>
>>> On Tue, Jan 27, 2015 at 8:30 PM, Dulitha Wijewantha <[email protected]>
>>> wrote:
>>>
>>>> Hi guys,
>>>> I have created a SSO jaggery feature [1] which can be used to install
>>>> the jaggery SSO component and the jaggery module. In API Manager currently-
>>>> the host object is used. It would be good if everyone can move to the SSO
>>>> module instead of the Host-object method.
>>>>
>>>> However - we currently require the new SSO module and the SSO module in
>>>> API manager in the CDM pack. We can expose out
>>>> the org.wso2.carbon.hostobjects.sso.SAMLSSORelyingPartyObject to let
>>>> publisher and store jaggery apps smoothly use the new SSO module as well. I
>>>> have created a PR [2] with these changes.
>>>>
>>>> [1] - https://github.com/wso2/jaggery-extensions/tree/master/sso
>>>> [2] - https://github.com/wso2/jaggery-extensions/pull/16
>>>> Cheers~
>>>>
>>>> --
>>>> Dulitha Wijewantha (Chan)
>>>> Software Engineer - Mobile Development
>>>> WSO2 Inc
>>>> Lean.Enterprise.Middleware
>>>> * ~Email [email protected] <[email protected]>*
>>>> * ~Mobile +94712112165 <%2B94712112165>*
>>>> * ~Website dulitha.me <http://dulitha.me>*
>>>> * ~Twitter @dulitharw <https://twitter.com/dulitharw>*
>>>> *~Github @dulichan <https://github.com/dulichan>*
>>>> *~SO @chan <http://stackoverflow.com/users/813471/chan>*
>>>>
>>>
>>>
>>>
>>> --
>>> Prabath Abeysekara
>>> Associate Technical Lead, Data TG.
>>> WSO2 Inc.
>>> Email: [email protected]
>>> Mobile: +94774171471
>>>
>>
>>
>>
>> --
>>
>> *Ruchira Wageesha**Associate Technical Lead*
>> *WSO2 Inc. - lean . enterprise . middleware | wso2.com <http://wso2.com>*
>>
>> *email: [email protected] <[email protected]>, blog:
>> ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>,
>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>
>
>
>
> --
> Dulitha Wijewantha (Chan)
> Software Engineer - Mobile Development
> WSO2 Inc
> Lean.Enterprise.Middleware
> * ~Email [email protected] <[email protected]>*
> * ~Mobile +94712112165 <%2B94712112165>*
> * ~Website dulitha.me <http://dulitha.me>*
> * ~Twitter @dulitharw <https://twitter.com/dulitharw>*
> *~Github @dulichan <https://github.com/dulichan>*
> *~SO @chan <http://stackoverflow.com/users/813471/chan>*
>
--
*Ruchira Wageesha**Associate Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware | wso2.com <http://wso2.com>*
*email: [email protected] <[email protected]>, blog:
ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>,
mobile: +94 77 5493444*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev