[
https://issues.apache.org/jira/browse/SHINDIG-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567253#action_12567253
]
Martin Webb commented on SHINDIG-35:
------------------------------------
Was able to successfully do a "mvn jetty:run" to get the ouath-provider example
web app running with the following patches:
Index:
/home/martin/repositories/oauth/svn/code/java/example/oauth-provider/pom.xml
===================================================================
---
/home/martin/repositories/oauth/svn/code/java/example/oauth-provider/pom.xml
(revision 470)
+++
/home/martin/repositories/oauth/svn/code/java/example/oauth-provider/pom.xml
(working copy)
@@ -22,7 +22,7 @@
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
- <pluginManagement>
+ <!-- pluginManagement -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -38,7 +38,7 @@
<scanIntervalSeconds>10</scanIntervalSeconds>
<webAppSourceDirectory>${basedir}/web</webAppSourceDirectory>
<webXmlFile>${basedir}/web/WEB-INF/web.xml</webXmlFile>
- <contextPath>/provider</contextPath>
+ <contextPath>/oauth-provider</contextPath>
<connectors>
<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>9090</port>
@@ -54,6 +54,14 @@
</configuration>
</plugin>
</plugins>
- </pluginManagement>
+ <!-- /pluginManagement -->
+ <resources>
+ <resource>
+ <directory>src</directory>
+ <includes>
+ <include>**/*.properties</include>
+ </includes>
+ </resource>
+ </resources>
</build>
</project>
Now off to explore the SHINDIG-35 patch in detail - it looks like a humdinger...
> Create a demo of a server side container
> ----------------------------------------
>
> Key: SHINDIG-35
> URL: https://issues.apache.org/jira/browse/SHINDIG-35
> Project: Shindig
> Issue Type: New Feature
> Components: Gadgets Server - Java
> Reporter: Brian Eaton
> Assignee: John Hjelmstad
> Attachments: oauth.patch, sillyoauthgadget.js, testgadget.xml
>
>
> I'd like Shindig to have a sample implementation of a server-side container.
> I definitely don't want to build any type of robust or scalable user registry
> to go along with this work. I'd like to see scaffolding, not a lot of
> implementation.
> The ability to store user preferences on the server rather than the client
> would be a reasonable first milestone. A next milestone would be support for
> OAuth in gadgets.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.