You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Henry Saputra (JIRA)" <ji...@apache.org> on 2011/06/01 01:49:47 UTC

[jira] [Commented] (SHINDIG-1502) Gadget not rendered in commoncontainer sample due to missing security token

    [ https://issues.apache.org/jira/browse/SHINDIG-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041899#comment-13041899 ] 

Henry Saputra commented on SHINDIG-1502:
----------------------------------------

I think this is fixed in trunk?

> Gadget not rendered in commoncontainer sample due to missing security token
> ---------------------------------------------------------------------------
>
>                 Key: SHINDIG-1502
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1502
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Han Nguyen
>            Priority: Minor
>
> Gadgets won't render when adding them on the commoncontainer canvas using the link below. Error shows invalid security token because it's not currently set.
> http://localhost:8080/samplecontainer/examples/commoncontainer/index.html
> The patch basically overrides Shindig default impl SecurityTokenCodec, DefaultSecurityTokenCodec. It stubs out some test data creating a dummy security token to get pass the error.
> To test the patch, simply add  org.apache.shindig.sample.commoncontainer.auth.CommonContainerAuthGuiceModule: to the guice-modules context-param of shindig-server web.xml
>  * <context-param>
>  *   <param-name>guice-modules</param-name>
>  *   <param-value>
>  *     ...
>  *     org.apache.shindig.sample.commoncontainer.auth.CommonContainerAuthGuiceModule:
>  *   </param-value>
>  * </context-param>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira