Author: owulff
Date: Tue Mar 5 20:41:55 2013
New Revision: 1452989
URL: http://svn.apache.org/r1452989
Log:
Readme for jetty support updated
Added:
cxf/fediz/trunk/plugins/jetty/README.txt
Modified:
cxf/fediz/trunk/examples/simpleWebapp/README.txt
Modified: cxf/fediz/trunk/examples/simpleWebapp/README.txt
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/examples/simpleWebapp/README.txt?rev=1452989&r1=1452988&r2=1452989&view=diff
==============================================================================
--- cxf/fediz/trunk/examples/simpleWebapp/README.txt (original)
+++ cxf/fediz/trunk/examples/simpleWebapp/README.txt Tue Mar 5 20:41:55 2013
@@ -6,28 +6,39 @@ web application.
Running this sample consists of four steps:
-- Configure the Tomcat-IDP and Tomcat-RP instances
+- Configure the Tomcat-IDP and Tomcat or Jetty-RP instances
- Building the demo using Maven
-- Deploying the demo to the Tomcat-RP instance
+- Deploying the demo to the RP instance
- Testing the demo
Please review the README in the samples main directory before continuing.
-Configure the Tomcat-IDP and Tomcat-RP instances
-------------------------------------------------
-First, make sure the separate Tomcat instance hosting the Fediz IDP and IDP
+Configure the Tomcat-IDP
+------------------------
+Make sure the separate Tomcat instance hosting the Fediz IDP and IDP
STS has been configured and is running as described here:
http://cxf.apache.org/fediz-idp.html. Confirm the STS is active by
checking that the WSDL is viewable from the browser using the URL given
on that page--don't proceed further unless it is.
-Next, the Tomcat installation holding the relying parties (the demo Web
application
+
+a) Configure the Tomcat-RP instance
+-----------------------------------
+Tomcat installation holding the relying parties (the demo Web application
for this sample) must be configured properly before applications can be
deployed to it. See this wiki page for instructions:
http://cxf.apache.org/fediz-tomcat.html -- the "Installation" and "HTTPS
Configuration" sections are the only parts that need configuration for this
sample.
+b) Configure the Jetty-RP instance
+----------------------------------
+Jetty installation holding the relying parties (the demo Web application
+for this sample) must be configured properly before applications can be
+deployed to it. See this wiki page for instructions:
+http://cxf.apache.org/fediz-jetty.html -- the "Installation" and "HTTPS
+Configuration" sections are the only parts that need configuration for this
+sample.
Demo Web Application
---------------------
@@ -52,8 +63,8 @@ command prompt, enter:
mvn clean install (builds the demo and creates a WAR file for Servlet
deployment)
-Deploying the demo to Tomcat
-----------------------------
+a) Deploying the demo to Tomcat
+-------------------------------
First copy this sample's Fediz Configuration file
(src/main/config/fediz_config.xml)
into the Tomcat-RP's conf folder. This configuration references the
Java keystore 'tomcat-rp.jks' available in Fediz' examples/samplekeys folder
@@ -64,6 +75,18 @@ Then, either manually copy this sample's
webapps folder, or use the Tomcat Maven Plugin as described in the README file
in the example folder root.
+b) Deploying the demo to Jetty
+------------------------------
+First copy this sample's Fediz Configuration file
(src/main/config/fediz_config.xml)
+into the Jetty-RP's etc folder. This configuration references the
+Java keystore 'tomcat-rp.jks' available in Fediz' examples/samplekeys folder
+but should already be in the Jetty RP's root folder when you configured this
+instance as stated in the prerequisites.
+
+Then, either manually copy this sample's generated WAR file to the Jetty-RP's
+webapps folder, or use the Jetty Maven Plugin as described in the README file
+in the example folder root.
+
Test the demo
-------------
Added: cxf/fediz/trunk/plugins/jetty/README.txt
URL:
http://svn.apache.org/viewvc/cxf/fediz/trunk/plugins/jetty/README.txt?rev=1452989&view=auto
==============================================================================
--- cxf/fediz/trunk/plugins/jetty/README.txt (added)
+++ cxf/fediz/trunk/plugins/jetty/README.txt Tue Mar 5 20:41:55 2013
@@ -0,0 +1,10 @@
+Fediz configuration in Jetty
+----------------------------
+
+The Jetty installation must be updated before a Web Application can be
deployed.
+
+The following wiki page gives instructions how to do that:
+http://cxf.apache.org/fediz-jetty.html
+
+The following wiki page explains the fediz configuration which is Container
independent:
+http://cxf.apache.org/fediz-configuration.html