cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r867167 - in /websites/production/cxf/content: cache/main.pageCache fediz-websphere.html
Date Mon, 24 Jun 2013 07:48:22 GMT
Author: buildbot
Date: Mon Jun 24 07:48:22 2013
New Revision: 867167

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-websphere.html
--- websites/production/cxf/content/fediz-websphere.html (added)
+++ websites/production/cxf/content/fediz-websphere.html Mon Jun 24 07:48:22 2013
@@ -0,0 +1,278 @@
+<!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 Websphere">
+    <title>
+Apache CXF -- Fediz Websphere
+    </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"><p>
+<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-websphere.html">Fediz Websphere</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>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box"
+  <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="FedizWebsphere-IBMWebspherePlugin"></a>IBM
Websphere Plugin</h1>
+<p>This page describes how to enable Federation for a IBM Websphere instance hosting
Relying Party (RP) applications. This configuration is not for a Websphere instance hosting
the Fediz IDP and IDP STS WARs but for applications that use SAML assertions for authentication.
 After this configuration is done, the Websphere-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 separate Servlet Container 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="FedizWebsphere-Installation"></a>Installation</h3>
+<p>You have to build the Fediz plugin on your own as it depends on IBM Websphere libraries.
If you have built the plugin on your own you'll find the required libraries in <tt>plugins/websphere/target/</tt></p>
+<ol><li>Create sub-directory <tt>fediz</tt> in <tt>${catalina.home}/lib</tt></li><li>Update in ${catalina.home}/conf<br clear="none">
+add the previously created directory to the common loader:<br clear="none">
the libraries to the directory created in (1)</li></ol>
+<h3><a shape="rect" name="FedizWebsphere-Configuration"></a>Configuration</h3>
+<h5><a shape="rect" name="FedizWebsphere-HTTPSconfiguration"></a>HTTPS
+<p>It's recommended to set up a dedicated (separate) Tomcat instance for the Relying
Party. The Fediz RP web applications use the following TCP ports:</p>
+<ul><li>HTTP port: 8080 (used for Maven deployment, mvn tomcat:redeploy)</li><li>HTTPS
port: 8443 (where IDP and STS are accessed)</li><li>Server port (for shutdown
and other commands): 8005</li></ul>
+<p>These are the default ports for a standard Tomcat installation.</p>
+<p>The Relying Party must be accessed over HTTPS to protect the security tokens issued
by the IDP.</p>
+<p>The Tomcat HTTP(s) configuration is done in conf/server.xml.</p>
+<p>This is a sample snippet for an HTTPS configuration:</p>
+<div class="error"><span class="error">Unknown macro: {code}</span> 
+<p>    &lt;Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"<br clear="none">
+               maxThreads="150" scheme="https" secure="true"<br clear="none">
+               keystoreFile="tomcat-rp.jks"<br clear="none">
+               keystorePass="tompass" sslProtocol="TLS" /&gt;</p></div>
+<p>The keystoreFile is relative to $CATALINA_HOME. See <a shape="rect" class="external-link"
href="">here</a> for the Tomcat
7 configuration reference. This page also describes how to create certificates.  Sample Tomcat
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 Tomcat
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 Tomcat instances and the various web applications (IDP, STS, Relying party applications,
third party web services, etc.)  See <a shape="rect" class="external-link" href="">this
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="FedizWebsphere-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
Valve in Tomcat. Detailed information about the Tomcat Valve concept is available <a shape="rect"
class="external-link" href="">here</a>.</p>
+<p>A Valve can be configured on different levels like <em>Host</em> or
<em>Context</em>. The Fediz configuration file allows to configure all servlet
contexts in one file or choosing one file per Servlet Context. If you choose to have one Fediz
configuration file per Servlet Context then you must configure the FederationAuthenticator
on the <em>Context</em> level otherwise on the <em>Host</em> level
in the Tomcat configuration file <em>server.xml</em></p>
+<p>You can either configure the context in the server.xml or in META-INF/context.xml
as part of your WAR file.</p>
+<h6><a shape="rect" name="FedizWebsphere-METAINF%2Fcontext.xml"></a>META-INF/context.xml</h6>
+<div class="error"><span class="error">Unknown macro: {code}</span> 
+<p>  &lt;Context&gt; <br clear="none">
+    &lt;Valve className="org.apache.cxf.fediz.tomcat.FederationAuthenticator"<br clear="none">
+      configFile="conf/Fediz_config.xml" /&gt;<br clear="none">
+  &lt;/Context&gt; </p></div>
+<h6><a shape="rect" name="FedizWebsphere-Hostlevelinserver.xml"></a>Host
level in server.xml</h6>
+<div class="error"><span class="error">Unknown macro: {code}</span> 
+<p>  &lt;Host name="localhost"  appBase="webapps"<br clear="none">
+        unpackWARs="true" autoDeploy="true"&gt;<br clear="none">
+    &lt;Valve className="org.apache.cxf.fediz.tomcat.FederationAuthenticator"<br clear="none">
+           configFile="conf/Fediz_config.xml" /&gt;<br clear="none">
+  &lt;/Host&gt;</p></div> 
+<h6><a shape="rect" name="FedizWebsphere-Contextlevelinserver.xml"></a>Context
level in server.xml</h6>
+<div class="error"><span class="error">Unknown macro: {code}</span> 
+<p>  &lt;Context path="/fedizhelloworld" docBase="fedizhelloworld"&gt;<br
+    &lt;Valve className="org.apache.cxf.fediz.tomcat.FederationAuthenticator"<br clear="none">
+      configFile="conf/Fediz_config.xml" /&gt;<br clear="none">
+  &lt;/Context&gt;</p></div>
+<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="FedizWebsphere-WebApplicationdeployment"></a>Web
Application deployment</h3>
+<p>Deploy your Web Application to your Tomcat installation (&lt;catalina.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="FedizWebsphere-FederationMetadatadocument"></a>Federation
Metadata document</h3>
+<p>The Tomcat 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>

View raw message