You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oltu.apache.org by "Marko Asplund (JIRA)" <ji...@apache.org> on 2014/07/01 23:18:25 UTC
[jira] [Updated] (OLTU-50) Improve the client demo in order to work
with context root different than '/'
[ https://issues.apache.org/jira/browse/OLTU-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marko Asplund updated OLTU-50:
------------------------------
Attachment: oltu-50.diff
Here's an implementation for eliminating static context path references.
Tested with "jetty:run" + Apache Tomcat 8.0.9.
Note that it was possible to deploy the war in Tomcat in the root context (deploy as "ROOT.war"), but it was just necessary to bundle the jstl-api jar.
> Improve the client demo in order to work with context root different than '/'
> -----------------------------------------------------------------------------
>
> Key: OLTU-50
> URL: https://issues.apache.org/jira/browse/OLTU-50
> Project: Apache Oltu
> Issue Type: Bug
> Components: oauth2-client-demo
> Reporter: Antonio Sanso
> Priority: Minor
> Labels: newbie
> Attachments: oltu-50.diff
>
>
> The client demo work more than fine if used with the embedded Jetty (mvn jetty:run).
> This will have jetty running on port 8080 (by default) and the demo runs having context root to '/'.
> Instead if the generated war file is deployed e.g. to Tomcat (where is not possible to set the context root to '/') the demo flow is broken.
> It would be nice having the demo "context aware"
--
This message was sent by Atlassian JIRA
(v6.2#6252)