cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r839550 - in /websites/production/cxf/content: cache/main.pageCache fediz-jetty.html fediz.html
Date Sun, 25 Nov 2012 21:47:56 GMT
Author: buildbot
Date: Sun Nov 25 21:47:55 2012
New Revision: 839550

Production update by buildbot for cxf


Modified: websites/production/cxf/content/cache/main.pageCache
Binary files - no diff available.

Added: websites/production/cxf/content/fediz-jetty.html
--- websites/production/cxf/content/fediz-jetty.html (added)
+++ websites/production/cxf/content/fediz-jetty.html Sun Nov 25 21:47:55 2012
@@ -0,0 +1,272 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+  <head>
+    <link type="text/css" rel="stylesheet" href="">
+    <script src="" type="text/javascript"></script>
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+<meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture,
web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support,
integration standards, application integration, middleware, software, solutions, services,
CXF, open source">
+<meta name="description" content="Apache CXF, Services Framework - Fediz Jetty">
+    <title>
+Apache CXF -- Fediz Jetty
+    </title>
+  </head>
+<body onload="init()">
+<table width="100%" cellpadding="0" cellspacing="0">
+  <tr>
+    <td id="cell-0-0" colspan="2">&nbsp;</td>
+    <td id="cell-0-1">&nbsp;</td>
+    <td id="cell-0-2" colspan="2">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-1-0">&nbsp;</td>
+    <td id="cell-1-1">&nbsp;</td>
+    <td id="cell-1-2">
+      <div style="padding: 5px;">
+        <div id="banner">
+          <!-- Banner -->
+<div id="banner-content">
+<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left"
colspan="1" nowrap>
+<a shape="rect" href="" title="Apache CXF"><span style="font-weight:
bold; font-size: 170%; color: white">Apache CXF</span></a>
+</td><td align="right" colspan="1" nowrap>
+<a shape="rect" href="" title="The Apache Software Foundation"><img
border="0" alt="ASF Logo" src=""></a>
+          <!-- Banner -->
+        </div>
+      </div>
+      <div id="top-menu">
+        <table border="0" cellpadding="1" cellspacing="0" width="100%">
+          <tr>
+            <td>
+              <div align="left">
+                <!-- Breadcrumbs -->
+<a href="index.html">Index</a>&nbsp;&gt;&nbsp;<a href="fediz.html">Fediz</a>&nbsp;&gt;&nbsp;<a
href="fediz-jetty.html">Fediz Jetty</a>
+                <!-- Breadcrumbs -->
+              </div>
+            </td>
+            <td>
+              <div align="right">
+                <!-- Quicklinks -->
+<div id="quicklinks"><p><a shape="rect" href="download.html" title="Download">Download</a>
| <a shape="rect" href="">Documentation</a></p></div>
+                <!-- Quicklinks -->
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
+    </td>
+    <td id="cell-1-3">&nbsp;</td>
+    <td id="cell-1-4">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-2-0" colspan="2">&nbsp;</td>
+    <td id="cell-2-1">
+      <table>
+        <tr valign="top">
+          <td height="100%">
+            <div id="wrapper-menu-page-right">
+              <div id="wrapper-menu-page-top">
+                <div id="wrapper-menu-page-bottom">
+                  <div id="menu-page">
+                    <!-- NavigationBar -->
+<div id="navigation"><h3><a shape="rect" name="Navigation-ApacheCXFIndex"></a><a
shape="rect" href="index.html" title="Index">Apache CXF</a></h3>
+<ul class="alternate" type="square"><li><a shape="rect" href="index.html"
title="Index">Home</a></li><li><a shape="rect" href="download.html"
title="Download">Download</a></li><li><a shape="rect" href="people.html"
title="People">People</a></li><li><a shape="rect" href="project-status.html"
title="Project Status">Project Status</a></li><li><a shape="rect"
href="roadmap.html" title="Roadmap">Roadmap</a></li><li><a shape="rect"
href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li><li><a
shape="rect" class="external-link" href="">Issue
Reporting</a></li><li><a shape="rect" href="special-thanks.html" title="Special
Thanks">Special Thanks</a></li><li><a shape="rect" class="external-link"
href="">License</a></li><li><a shape="rect"
href="security-advisories.html" title="Security Advisories">Security Advisories</a></li></ul>
+<h3><a shape="rect" name="Navigation-Users"></a>Users</h3>
+<ul class="alternate" type="square"><li><a shape="rect" href="">User's
Guide</a></li><li><a shape="rect" href="support.html" title="Support">Support</a></li><li><a
shape="rect" href="faq.html" title="FAQ">FAQ</a></li><li><a shape="rect"
href="resources-and-articles.html" title="Resources and Articles">Resources and Articles</a></li></ul>
+<h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
+<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="">
+  <div>
+    <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
+    <input type="hidden" name="ie" value="UTF-8">
+    <input type="text" name="q" size="21">
+    <input type="submit" name="sa" value="Search">
+  </div>
+<script type="text/javascript" src=";lang=en"></script>
+<h3><a shape="rect" name="Navigation-Developers"></a>Developers</h3>
+<ul class="alternate" type="square"><li><a shape="rect" href="">Architecture
Guide</a></li><li><a shape="rect" href="source-repository.html" title="Source
Repository">Source Repository</a></li><li><a shape="rect" href="building.html"
title="Building">Building</a></li><li><a shape="rect" href="automated-builds.html"
title="Automated Builds">Automated Builds</a></li><li><a shape="rect"
href="testing-debugging.html" title="Testing-Debugging">Testing-Debugging</a></li><li><a
shape="rect" href="coding-guidelines.html" title="Coding Guidelines">Coding Guidelines</a></li><li><a
shape="rect" href="getting-involved.html" title="Getting Involved">Getting Involved</a></li><li><a
shape="rect" href="release-management.html" title="Release Management">Release Management</a></li></ul>
+<h3><a shape="rect" name="Navigation-Subprojects"></a>Subprojects</h3>
+<ul class="alternate" type="square"><li><a shape="rect" href="distributed-osgi.html"
title="Distributed OSGi">Distributed OSGi</a></li><li><a shape="rect"
href="xjc-utils.html" title="XJC Utils">XJC Utils</a></li><li><a shape="rect"
href="build-utils.html" title="Build Utils">Build Utils</a></li><li><a
shape="rect" href="fediz.html" title="Fediz">Fediz</a></li></ul>
+<h3><a shape="rect" name="Navigation-ASF"></a><a shape="rect" class="external-link"
+<ul class="alternate" type="square"><li><a shape="rect" class="external-link"
href="">How Apache Works</a></li><li><a
shape="rect" class="external-link" href="">Foundation</a></li><li><a
shape="rect" class="external-link" href="">Sponsor
Apache</a></li><li><a shape="rect" class="external-link" href="">Thanks</a></li><li><a
shape="rect" class="external-link" href="">Security</a></li></ul>
+                    <!-- NavigationBar -->
+                  </div>
+              </div>
+            </div>
+          </div>
+         </td>
+         <td height="100%">
+           <!-- Content -->
+           <div class="wiki-content">
+<div id="ConfluenceContent"><h1><a shape="rect" name="FedizJetty-JettyPlugin%281.1SNAPSHOT%29"></a>Jetty
Plugin (1.1 SNAPSHOT)</h1>
+<p>This page describes how to enable Federation for a Jetty 7/8 instance hosting Relying
Party (RP) applications.  This configuration is not for a separate Tomcat instance hosting
the Fediz IDP and IDP STS WARs, or hosts for third-party applications that use Fediz STS-generated
SAML assertions for authentication.  After this configuration is done, the Jetty-RP instance
will validate the incoming SignInResponse created by the IDP server.</p>
+<p>Prior to doing this configuration, make sure you've first deployed the Fediz IDP
and STS on the Tomcat IDP instance as discussed <a shape="rect" href="fediz-idp.html" title="Fediz
IDP">here</a>, and can view the STS WSDL at the URL given on that page.  That page
also provides some tips for running multiple Tomcat instances on your machine.</p>
+<h3><a shape="rect" name="FedizJetty-Installation"></a>Installation</h3>
+<p>You can either build the Fediz plugin on your own or download the package <a
shape="rect" href="fediz-downloads.html" title="Fediz Downloads">here</a>. If you
have built the plugin on your own you'll find the required libraries in <tt>plugins/jetty/target/</tt></p>
+<ol><li>Create sub-directory <tt>fediz</tt> in <tt>${jetty.home}/lib/fediz</tt></li><li>Update
start.ini in ${jetty.home}/start.ini by adding <tt>fediz</tt> to the OPTIONS
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+</div></div></li><li>Deploy the libraries to the directory created
in (1)</li></ol>
+<h3><a shape="rect" name="FedizJetty-Configuration"></a>Configuration</h3>
+<h5><a shape="rect" name="FedizJetty-HTTPSconfiguration"></a>HTTPS configuration</h5>
+<p>It's recommended to set up a dedicated (separate) Jetty instance for the Relying
Party. The Fediz RP web applications use the following TCP ports:</p>
+<ul><li>HTTP port: 8080</li><li>HTTPS port: 8443 (where IDP and STS
are accessed)</li></ul>
+<p>These are the default ports for a standard Jetty installation.</p>
+<p>The Relying Party must be accessed over HTTPS to protect the security tokens issued
by the IDP.</p>
+<p>The Jetty HTTP(s) configuration is done in etc/jetty-ssl.xml.</p>
+<p>The configuration is described in detail <a shape="rect" class="external-link"
href="" rel="nofollow">here</a></p>
+<p>This page also describes how to create certificates.  Sample Jetty keystores (not
for production use, but useful for demoing Fediz and running the sample applications) are
provided in the examples/samplekeys folder of the Fediz distribution.  Note the Jetty keystore
here is different from the one used to configure the Tomcat-IDP instance.</p>
+<p>To establish trust, there are significant keystore/truststore requirements between
the Servlet Container instances and the various web applications (IDP, STS, Relying party
applications, third party web services, etc.)  See <a shape="rect" class="external-link"
page</a> for more details, it lists the trust requirements as well as sample scripts
for creating your own (self-signed) keys.</p>
+<p><b>Warning:  All sample keystores provided with Fediz (including in the WAR
files for its services and examples) are for development/prototyping use only.  They'll need
to be replaced for production use, at a minimum with your own self-signed keys but strongly
recommended to use third-party signed keys.</b></p>
+<p>If you are currently just trying to run the Fediz samples, the configuration above
is all you need (the below configuration is already provided within the samples) so you can
return now to the samples' READMEs for the next steps in running them.</p>
+<h5><a shape="rect" name="FedizJetty-FedizPluginconfigurationforYourWebApplication"></a>Fediz
Plugin configuration for Your Web Application</h5>
+<p>The Fediz related configuration is done in a Servlet Container independent configuration
file which is described <a shape="rect" href="fediz-configuration.html" title="Fediz Configuration">here</a>.</p>
+<p>The Fediz plugin requires configuring the FederationAuthenticator like any other
authenticator in Jetty. Detailed information about the Authenticators and SecurityHandler
is available <a shape="rect" class="external-link" href=""
+<p>The Fediz configuration file allows to configure all servlet contexts in one file
or choosing one file per Servlet Context.</p>
+<p>You can configure the context in context configuration file located in &lt;jetty.home&gt;/contexts.</p>
+<h6><a shape="rect" name="FedizJetty-fedizhelloworld.xml"></a>fedizhelloworld.xml</h6>
+<p>Hint: file name must be equal to war file name</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml"> 
+  <span class="code-tag">&lt;Get name=<span class="code-quote">"securityHandler"</span>&gt;</span>
+    <span class="code-tag">&lt;Set name=<span class="code-quote">"loginService"</span>&gt;</span>
+      <span class="code-tag">&lt;New class=<span class="code-quote">"org.apache.cxf.fediz.jetty.FederationLoginService"</span>&gt;</span>
+        <span class="code-tag">&lt;Set name=<span class="code-quote">"name"</span>&gt;</span>WSFED<span
+      <span class="code-tag">&lt;/New&gt;</span>
+    <span class="code-tag">&lt;/Set&gt;</span>
+    <span class="code-tag">&lt;Set name=<span class="code-quote">"authenticator"</span>&gt;</span>
+      <span class="code-tag">&lt;New class=<span class="code-quote">"org.apache.cxf.fediz.jetty.FederationAuthenticator"</span>&gt;</span>
+        <span class="code-tag">&lt;Set name=<span class="code-quote">"configFile"</span>&gt;</span><span
class="code-tag">&lt;SystemProperty name=<span class="code-quote">"jetty.home"</span>
default=<span class="code-quote">"."</span>/&gt;</span>/etc/fediz_config.xml<span
+      <span class="code-tag">&lt;/New&gt;</span>
+    <span class="code-tag">&lt;/Set&gt;</span>
+  <span class="code-tag">&lt;/Get&gt;</span>
+<p>The Fediz configuration file is a Servlet container independent configuration file
and described <a shape="rect" href="fediz-configuration.html" title="Fediz Configuration">here</a></p>
+<h3><a shape="rect" name="FedizJetty-WebApplicationdeployment"></a>Web
Application deployment</h3>
+<p>Deploy your Web Application to your Jetty installation (&lt;jetty.home&gt;/webapps).
 If you're running the Fediz examples, their README files will have instructions on how to
do this.</p>
+<h3><a shape="rect" name="FedizJetty-FederationMetadatadocument"></a>Federation
Metadata document</h3>
+<p>The Jetty Fediz plugin supports publishing the WS-Federation Metadata document which
is described <a shape="rect" href="fediz-metadata.html" title="Fediz Metadata">here</a>.</p>
+           </div>
+           <!-- Content -->
+         </td>
+        </tr>
+      </table>
+   </td>
+   <td id="cell-2-2" colspan="2">&nbsp;</td>
+  </tr>
+  <tr>
+   <td id="cell-3-0">&nbsp;</td>
+   <td id="cell-3-1">&nbsp;</td>
+   <td id="cell-3-2">
+     <div id="footer">
+       <!-- Footer -->
+       <div id="site-footer">
+         <a href="">Privacy Policy</a>
+         (<a href="">edit
+	 (<a href=";showComments=true&amp;showCommentArea=true#addcomment">add
+	Apache CXF, CXF, Apache, the Apache feather logo are trademarks of The Apache Software Foundation.<br>
+        All other marks mentioned may be trademarks or registered trademarks of their respective
+       </div>
+       <!-- Footer -->
+     </div>
+   </td>
+   <td id="cell-3-3">&nbsp;</td>
+   <td id="cell-3-4">&nbsp;</td>
+  </tr>
+  <tr>
+    <td id="cell-4-0" colspan="2">&nbsp;</td>
+    <td id="cell-4-1">&nbsp;</td>
+    <td id="cell-4-2" colspan="2">&nbsp;</td>
+  </tr>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-4458903-1");
+} catch(err) {}</script>

Modified: websites/production/cxf/content/fediz.html
--- websites/production/cxf/content/fediz.html (original)
+++ websites/production/cxf/content/fediz.html Sun Nov 25 21:47:55 2012
@@ -185,7 +185,7 @@ The RP is a web application that needs t
 <p>The Fediz plugin needs to be deployed into the Relying Party (RP) container. The
security mechanism is not specified by JEE. Even though it is very similar in each servlet
container there are some differences which require a dedicated Fediz plugin for each servlet
container implementation. Most of the configuration goes into a Servlet container independent
configuration file which is described <a shape="rect" href="fediz-configuration.html" title="Fediz
 <p>The following lists shows the supported containers and the location of the installation
and configuration page.</p>
-<ul><li><a shape="rect" href="fediz-tomcat.html" title="Fediz Tomcat">Tomcat
7 </a></li></ul>
+<ul><li><a shape="rect" href="fediz-tomcat.html" title="Fediz Tomcat">Tomcat
7 </a></li><li><a shape="rect" href="fediz-jetty.html" title="Fediz Jetty">Jetty
7/8 (1.1 SNAPSHOT)</a></li></ul>

View raw message