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