You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by ru...@apache.org on 2008/03/03 08:02:21 UTC

svn commit: r632958 - in /webservices/rampart/trunk/java/modules/documentation/src/site: resources/ resources/download/ xdoc/ xdoc/download/

Author: ruchithf
Date: Sun Mar  2 23:02:19 2008
New Revision: 632958

URL: http://svn.apache.org/viewvc?rev=632958&view=rev
Log:
Moving the content of .html file from resources to .xml source files for the site

Added:
    webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/developer-guide.xml
      - copied, changed from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/developer-guide.html
    webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/download/
      - copied from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/download/
    webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/download.cgi
      - copied unchanged from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/download.cgi
    webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/download.xml
      - copied, changed from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/download.html
    webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/quick-start.xml
      - copied, changed from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/quick-start.html
    webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/rampartconfig-guide.xml
      - copied, changed from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/rampartconfig-guide.html
Removed:
    webservices/rampart/trunk/java/modules/documentation/src/site/resources/developer-guide.html
    webservices/rampart/trunk/java/modules/documentation/src/site/resources/download/
    webservices/rampart/trunk/java/modules/documentation/src/site/resources/download.cgi
    webservices/rampart/trunk/java/modules/documentation/src/site/resources/download.html
    webservices/rampart/trunk/java/modules/documentation/src/site/resources/mail-lists.html
    webservices/rampart/trunk/java/modules/documentation/src/site/resources/quick-start.html
    webservices/rampart/trunk/java/modules/documentation/src/site/resources/rampartconfig-guide.html

Copied: webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/developer-guide.xml (from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/developer-guide.html)
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/developer-guide.xml?p2=webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/developer-guide.xml&p1=webservices/rampart/trunk/java/modules/documentation/src/site/resources/developer-guide.html&r1=632949&r2=632958&rev=632958&view=diff
==============================================================================
--- webservices/rampart/trunk/java/modules/documentation/src/site/resources/developer-guide.html (original)
+++ webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/developer-guide.xml Sun Mar  2 23:02:19 2008
@@ -1,98 +1,10 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<head>
-    <title>Apache Rampart - Source Repository</title>
-    <style type="text/css" media="all">
-      @import url("./css/maven-base.css");
-      @import url("./css/maven-theme.css");
-      @import url("./css/site.css");
-    </style>
-    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-      </head>
-  <body class="composite">
-    <div id="banner">
-                  <a href="ws.apache.org/rampart/" id="bannerLeft">Apache Rampart</a>
-     <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="breadcrumbs">
-    <div class="xleft">
-        Last Published: 13 Jul 2007
-    </div>
-    <div class="xright"><a href="http://www.apache.org/">Apache</a>
-          <a href="../">WebServices</a>
-       </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="leftColumn">
-      <div id="navcolumn">
-                   <h5>Apache Rampart</h5>
-        <ul>
-              
-    <li class="none">
-              <a href="index.html">About</a>
-        </li>
-    
-            <li class="expanded">
-              <a href="">Downloads</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="download.cgi">Releases</a>
-        </li>
-                  
-    <li class="none">
-              <a href="source-repository.html">Source Code</a>
-        </li>
-              </ul>
-        </li>
-      <li class="expanded">
-              <a href="">Documentation</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="quick-start.html">Quick Start Guide</a>
-        </li>
-
-    <li class="none">
-              <a href="rampartconfig-guide.html">Rampart Configuration</a>
-    </li>
-                  
-    <li class="none">
-              <strong>Developer Guide</strong>
-        </li>
-              </ul>
-        </li>
-              
-    <li class="expanded">
-              <a href="">Project Information</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="mail-lists.html">Mailing Lists</a>
-        </li>
-                  
-    <li class="none">
-              <a href="http://issues.apache.org/jira/browse/Rampart">Issue Tracking</a>
-        </li>
-                  
-    <li class="none">
-              <a href="dependencies.html">Dependencies</a>
-        </li>
-              </ul>
-        </li>
-          </ul>
-                                       <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
-            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
-          </a>
-                       
-     </div>
-    </div>
-    <div id="bodyColumn">
-      <div id="contentBox">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <title>Apache Rampart - Source Repository</title>
+</head>
+  <body >
 <h2>Getting Involved in Rampart</h2>
 
 <h3>Introduction</h3>
@@ -106,8 +18,7 @@
 
 <p></p>
 <img alt="Rampart Components and WS-Security Stack"
-title="Rampart Components and WS-Security Stack"
-src="images/security-stack.jpg" align="middle">
+title="Rampart Components and WS-Security Stack" src="images/security-stack.jpg" align="middle" />
 
 <p><strong><em>Figure 1 : Rampart Components and WS-Security
 Stack</em></strong></p>
@@ -162,7 +73,7 @@
 
 <p></p>
 <img alt="DOOM" title="Rampart in Axis2" src="images/rampart-handlers.jpg"
-align="middle">
+align="middle" />
 
 <p><strong><em>Figure 2 : Rampart in Axis2</em></strong></p>
 
@@ -220,7 +131,7 @@
 RampartEngine. RampartEngine is responsible for handling validation of
 security in the incoming SOAP message.</p>
 <img alt="Rampart Engine" title="Rampart Engine"
-src="images/rampart-engine.jpg" align="middle">
+src="images/rampart-engine.jpg" align="middle" />
 
 <p><strong><em>Figure 3: Control flow in RampartEngine</em></strong></p>
 
@@ -234,7 +145,7 @@
 org.apache.rampart.RampartMessageBuilder. It is responsible for enforcing
 security on an outgoing SOAP message.</p>
 <img alt="Message Builder" title="Message Builder"
-src="images/message-builder.jpg" align="middle">
+src="images/message-builder.jpg" align="middle" />
 
 <p><strong><em>Figure 4: Control flow in MessageBuilder</em></strong></p>
 
@@ -267,7 +178,7 @@
 implemented by different token issuing parties. Basically, Rampart Trust
 provides the functionality needed to host a STS - Security Token Service.</p>
 <img alt="Rampart Trust" title="Rampart Trust" src="images/rampart-trust.jpg"
-align="middle">
+align="middle" />
 
 <p><strong><em>Figure 5: Control flow in Rampart Trust</em></strong></p>
 
@@ -276,27 +187,5 @@
 <p></p>
 
 <p></p>
-      </div>
-    </div>
-    <div class="clear">
-      <hr/>
-    </div>
-    <div id="footer">
-      <div class="xright">&#169;  
-          2005-2007
-    
-          Apache Software Foundation
-          
-  
-
-  
-    
-  
-  
-  </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-  </body>
+  </body>
 </html>

Copied: webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/download.xml (from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/download.html)
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/download.xml?p2=webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/download.xml&p1=webservices/rampart/trunk/java/modules/documentation/src/site/resources/download.html&r1=632949&r2=632958&rev=632958&view=diff
==============================================================================
--- webservices/rampart/trunk/java/modules/documentation/src/site/resources/download.html (original)
+++ webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/download.xml Sun Mar  2 23:02:19 2008
@@ -1,134 +1,131 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<head>
-    <title>Apache Rampart - Source Repository</title>
-    <style type="text/css" media="all">
-      @import url("./css/maven-base.css");
-      @import url("./css/maven-theme.css");
-      @import url("./css/site.css");
-    </style>
-    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-      </head>
-  <body class="composite">
-    <div id="banner">
-                  <a href="ws.apache.org/rampart/" id="bannerLeft">Apache Rampart</a>
-     <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="breadcrumbs">
-    <div class="xleft">
-        Last Published: 13 Jul 2007
-    </div>
-    <div class="xright"><a href="http://www.apache.org/">Apache</a>
-          <a href="../">WebServices</a>
-       </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="leftColumn">
-      <div id="navcolumn">
-                   <h5>Apache Rampart</h5>
-        <ul>
-              
-    <li class="none">
-              <a href="index.html">About</a>
-        </li>
-    
-            <li class="expanded">
-              <a href="">Downloads</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="download.cgi">Releases</a>
-        </li>
-                  
-    <li class="none">
-              <strong>Source Code</strong>
-        </li>
-              </ul>
-        </li>
-      <li class="expanded">
-              <a href="">Documentation</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="quick-start.html">Quick Start Guide</a>
-        </li>
- 
-   <li class="none">
-              <a href="rampartconfig-guide.html">Rampart Configuration</a>
-    </li>
-                  
-    <li class="none">
-              <a href="developer-guide.html">Developer Guide</a>
-        </li>
-              </ul>
-        </li>
-              
-    <li class="expanded">
-              <a href="">Project Information</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="mail-lists.html">Mailing Lists</a>
-        </li>
-                  
-    <li class="none">
-              <a href="http://issues.apache.org/jira/browse/Rampart">Issue Tracking</a>
-        </li>
-                  
-    <li class="none">
-              <a href="dependencies.html">Dependencies</a>
-        </li>
-              </ul>
-        </li>
-          </ul>
-                                       <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
-            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
-          </a>
-                       
-     </div>
-    </div>
-<div id="bodyColumn">
<div id="contentBox">
-<div class="section">
-<h2>Releases</h2>
-
-<p>The Apache Rampart team is proud to announce the aviailability of the 1.2 release from June 2007</p>
-
-<table class="bodyTable">
-  <tbody>
-    <tr class="a">
-      <th>Version</th>
-      <th>Date</th>
-      <th>Description</th>
-    </tr>
-    <tr class="b">
-      <td><a
-        href="http://ws.apache.org/rampart/download/1.2/download.cgi">1.2</a></td>
-      <td>June-2007</td>
-      <td>1.2 Release</td>
-    </tr>
-  </tbody>
+<!--
+  ~ 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
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ 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.
+  -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta name="generator" content=
+"HTML Tidy for Windows (vers 14 June 2007), see www.w3.org" />
+<meta http-equiv="content-type" content="" />
+<title>Releases</title>
+<link href="css/axis-docs.css" rel="stylesheet" type="text/css"
+media="all" />
+</head>
+<body>
+<h2>Apache Axis2 Releases</h2>
+<div align="left">
+<p>This page provides links to the release versions of Axis2 Java.
+For more information, please see <a href=
+"http://www.apache.org/dev/release.html">Apache Release
+FAQ</a>.</p>
+</div>
+<div align="center">
+<table border="1" style="border-collapse: collapse" width="93%" id=
+"table1">
+<tbody>
+<tr>
+<th>Version</th>
+<th>Date</th>
+<th>Description</th>
+</tr>
+<tr>
+<td><a href=
+"download/1_3/download.cgi"><strong>1.3</strong></a></td>
+<td>06 - 07 - 2007</td>
+<td>1.3 Release (Mirrored)</td>
+</tr>
+<tr>
+<td><a href=
+"download/1_2/download.cgi"><strong>1.2</strong></a></td>
+<td>27 - 04 - 2007</td>
+<td>1.2 Release (Mirrored)</td>
+</tr>
+<tr>
+<td><a href=
+"download/1_1_1/download.cgi"><strong>1.1.1</strong></a></td>
+<td>09 - 01 - 2007</td>
+<td>1.1.1 Release (Mirrored)</td>
+</tr>
+<tr>
+<td><a href=
+"download/1_1/download.cgi"><strong>1.1</strong></a></td>
+<td>13 - 11 - 2006</td>
+<td>1.1 Release (Archived)</td>
+</tr>
+<tr>
+<td><a href=
+"download/1_0/download.cgi"><strong>1.0</strong></a></td>
+<td>04 - 05 - 2006</td>
+<td>1.0 Release (Archived)</td>
+</tr>
+<tr>
+<td><a href=
+"download/0_95/download.cgi"><strong>0.95</strong></a></td>
+<td>23 - 03 - 2006</td>
+<td>0.95 Release (Archived)</td>
+</tr>
+<tr>
+<td><a href=
+"download/0_94/download.cgi"><strong>0.94</strong></a></td>
+<td>11- 01 -2006</td>
+<td>0.94 Release (Archived)</td>
+</tr>
+<tr>
+<td><a href=
+"download/0_93/download.cgi"><strong>0.93</strong></a></td>
+<td>12- 02 - 2005</td>
+<td>0.93 Release (Archived)</td>
+</tr>
+<tr>
+<td><a href=
+"download/0_92/download.cgi"><strong>0.92</strong></a></td>
+<td>26 -08 - 2005</td>
+<td>0.92 Release (Archived)</td>
+</tr>
+<tr>
+<td><a href=
+"download/0_91/download.cgi"><strong>0.91</strong></a></td>
+<td>16 -08 - 2005</td>
+<td>0.91 Release (Archived)</td>
+</tr>
+<tr>
+<td><a href=
+"download/0_9/download.cgi"><strong>0.9</strong></a></td>
+<td>05 - 07 - 2005</td>
+<td>0.9 Release (Archived)</td>
+</tr>
+<tr>
+<td><a href="download/M2/download.cgi"><strong>M2</strong></a></td>
+<td>08 - 06 - 2005</td>
+<td>Milestone Release #2 (Archived)</td>
+</tr>
+</tbody>
 </table>
 </div>
-</div>
-</div>
-
-<div class="clear">
-<hr>
-</div>
-
-<div id="footer">
-
-<div class="xright">
-&copy; 2005-2006 Apache Software Foundation</div>
-
-<div class="clear">
-<hr>
-</div>
-</div>
-
+<p><strong>Axis2 Distributions : <a href=
+"http://cvs.apache.org/dist/axis2/nightly">Nightly
+builds</a></strong></p>
+<p><strong>Axis2 Maven Repository: <a href=
+"http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.axis2/">
+Released Axis2 jars</a> | <a href=
+"http://cvs.apache.org/repository/org.apache.axis2/jars/">Nightly
+SNAPSHOT</a><a href=
+"http://cvs.apache.org/repository/org.apache.axis2/jars/"></a></strong></p>
 </body>
 </html>

Copied: webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/quick-start.xml (from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/quick-start.html)
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/quick-start.xml?p2=webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/quick-start.xml&p1=webservices/rampart/trunk/java/modules/documentation/src/site/resources/quick-start.html&r1=632949&r2=632958&rev=632958&view=diff
==============================================================================
--- webservices/rampart/trunk/java/modules/documentation/src/site/resources/quick-start.html (original)
+++ webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/quick-start.xml Sun Mar  2 23:02:19 2008
@@ -1,98 +1,10 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<head>
-    <title>Apache Rampart - Source Repository</title>
-    <style type="text/css" media="all">
-      @import url("./css/maven-base.css");
-      @import url("./css/maven-theme.css");
-      @import url("./css/site.css");
-    </style>
-    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-      </head>
-  <body class="composite">
-    <div id="banner">
-                  <a href="ws.apache.org/rampart/" id="bannerLeft">Apache Rampart</a>
-     <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="breadcrumbs">
-    <div class="xleft">
-        Last Published: 13 Jul 2007
-    </div>
-    <div class="xright"><a href="http://www.apache.org/">Apache</a>
-          <a href="../">WebServices</a>
-       </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="leftColumn">
-      <div id="navcolumn">
-                   <h5>Apache Rampart</h5>
-        <ul>
-              
-    <li class="none">
-              <a href="index.html">About</a>
-        </li>
-    
-            <li class="expanded">
-              <a href="">Downloads</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="download.cgi">Releases</a>
-        </li>
-                  
-    <li class="none">
-              <a href="source-repository.html">Source Code</a>
-        </li>
-              </ul>
-        </li>
-      <li class="expanded">
-              <a href="">Documentation</a>
-                <ul>
-                  
-    <li class="none">
-              <strong>Quick Start Guide</strong>
-        </li>
-    
-    <li class="none">
-              <a href="rampartconfig-guide.html">Rampart Configuration</a>
-    </li>
-                  
-    <li class="none">
-              <a href="developer-guide.html">Developer Guide</a>
-        </li>
-              </ul>
-        </li>
-              
-    <li class="expanded">
-              <a href="">Project Information</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="mail-lists.html">Mailing Lists</a>
-        </li>
-                  
-    <li class="none">
-              <a href="http://issues.apache.org/jira/browse/Rampart">Issue Tracking</a>
-        </li>
-                  
-    <li class="none">
-              <a href="dependencies.html">Dependencies</a>
-        </li>
-              </ul>
-        </li>
-          </ul>
-                                       <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
-            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
-          </a>
-                       
-     </div>
-    </div>
-    <div id="bodyColumn">
-      <div id="contentBox">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <title>Apache Rampart - Source Repository</title>
+      </head>
+  <body>
 <h2>Rampart Quick Start Guide</h2>
 
 <h3>Installing Rampart in Axis2</h3>
@@ -117,130 +29,58 @@
 <h3>Understanding the first sample</h3>
 
 <ul><li>Engaging Rampart</li></ul>
-<p>When securing a SOAP message, the sender must know the security actions to be performed on the message and the receiver must know enough details to process and validate the security of the message. Therefore when using Rampart with Axis2, it must be engaged at both ends.<p>
+<p>When securing a SOAP message, the sender must know the security actions to be performed on the message and the receiver must know enough details to process and validate the security of the message. Therefore when using Rampart with Axis2, it must be engaged at both ends.</p>
 <p>Observe how module has been engaged in server side by opening samples/policy/sample01/services.xml. The following line has engaged the module.</p>
-<div class="source">
-	&lt;module ref="rampart"/&gt;
-</div>
 <p>Engaging Rampart at client side is done programatically as follows.</p>
-<div class="source">
+<pre>
 ServiceClient client = new ServiceClient(ctx, null);<br/>
 client.engageModule("rampart");
-</div>
+</pre>
 <ul><li>Understanding policy</li></ul>
 <p>WS-Security Policy can be used to indicate what security actions that needs be performed on SOAP messages and and what actions should be validated. The file 'samples/policy/sample01/policy.xml' configures Rampart to add Username Token with Timestamp to this message. The element &lt;RampartConfig&gt; in policy.xml defines Rampart specific configurations. </p>
 <p>Policy at serverside is included in samples/policy/sample01/services.xml file. This configures Rampart module at serverside to validate the message for Username Token an Timestamp.</p>
-<p>More details on RampartConfig can be found <a href="ampartconfig-guide.html">here</a>.<p>
+<p>More details on RampartConfig can be found <a href="ampartconfig-guide.html">here</a>.</p>
 
 <ul><li>Viewing the Message on wire</li></ul>
-<p>It is interesting to view the secured SOAP message on the wire using TCP monitor. Change the "client.port" property in samples/policy/build.xml file to the listening port of TCP monitor. This will send all the messages through TCP monitor when you execute the ant script. Observe the <security> header in the SOAP message.</p>
+<p>It is interesting to view the secured SOAP message on the wire using TCP monitor. Change the "client.port" property in samples/policy/build.xml file to the listening port of TCP monitor. This will send all the messages through TCP monitor when you execute the ant script. Observe the &lt;wsse:Security&gt; header in the SOAP message.</p>
 
 <h3>Setting up a Security Token Service</h3>
 <p>Security Token Service can be set up as per WS-Trust specification using Rampart. The default security token service shipped with the rampart distribution is contained in the rampart-trust.mar module. It can issue SCT tokens and SAML tokens. Sample05 contains a client that connects to the default STS and obtain a SAML token. The services.xml in the sample contains "saml-issuer-config" parameter that is used to configure the default SAML issuer.</p>
-	
 <strong>STS with a custom issuer</strong>
 <p>First the default rampart.mar has to be removed from the modules. Then write you own issuer implementing the <code>"org.apache.rahas.TokenIssuer"</code> interface. Let's say that your issuer is <code>"org.custom.MyIssuer"</code>. Then create a Axis2 service archive with the following in the services.xml. Drop the archive into the repository and you have a STS with a CustomToken issuer.</p>
-<div class="source">
-&lt;module ref="rampart" /&gt;<br />
-&nbsp;&nbsp;&nbsp; &lt;operation name="IssueToken"
-mep="http://www.w3.org/2006/01/wsdl/in-out"&gt;
-<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-&lt;messageReceiver
-class="org.apache.rahas.STSMessageReceiver"/&gt;
-<br />
-&nbsp;<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;!-- Action mapping to accept SCT requests --&gt;
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT&lt;/actionMapping&gt;
-
-<br />
-&nbsp;<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue&lt;/actionMapping&gt;
-
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew&lt;/actionMapping&gt;
-
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel&lt;/actionMapping&gt;
-
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT/Cancel&lt;/actionMapping&gt;
-
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Validate&lt;/actionMapping&gt;
-
-<br />
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;parameter name="token-dispatcher-configuration"&gt;
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;
-&lt;token-dispatcher-configuration&gt;
-<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp; &lt;!-- Issuers. You may have many
-issuers. --&gt;
-<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;issuer
-class="org.custom.MyIssuer"
-default="true"&gt;
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;configuration
-type="parameter"&gt;saml-issuer-config&lt;/configuration&gt;
-
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;tokenType&gt;http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1&lt;/tokenType&gt;
-
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp; &lt;/issuer&gt;
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;
-&lt;/token-dispatcher-configuration&gt;
-<br />
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
-&lt;/parameter&gt;<br />
-&lt;/operation&gt;<br />
-
-<div>
-  </div>
-    </div>
-    <div class="clear">
-      <hr/>
-    </div>
-    <div id="footer">
-      <div class="xright">&#169;  
-          2005-2007
-    
-          Apache Software Foundation
-          
-  
-
-  
-    
-  
-  
-  </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-  </body>
+
+<pre>
+
+&lt;module ref="rampart" /&gt;
+
+&lt;operation name="IssueToken"
+		mep="http://www.w3.org/2006/01/wsdl/in-out"&gt;
+	&lt;messageReceiver
+			class="org.apache.rahas.STSMessageReceiver"/&gt;
+
+    &lt;!-- Action mapping to accept RST requests --&gt;
+	&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT&lt;/actionMapping&gt;
+	&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue&lt;/actionMapping&gt;
+	&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew&lt;/actionMapping&gt;
+	&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel&lt;/actionMapping&gt;
+	&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT/Cancel&lt;/actionMapping&gt;
+	&lt;actionMapping&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Validate&lt;/actionMapping&gt;
+
+	&lt;parameter name="token-dispatcher-configuration"&gt;
+		&lt;token-dispatcher-configuration&gt;
+        &lt;!-- Issuers. You may have many issuers. --&gt;
+		&lt;issuer class="org.custom.MyIssuer" default="true"&gt;
+				&lt;configuration
+						type="parameter"&gt;saml-issuer-config&lt;/configuration&gt;
+				&lt;tokenType&gt;http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1&lt;/tokenType&gt;
+			&lt;/issuer&gt;
+		&lt;/token-dispatcher-configuration&gt;
+	&lt;/parameter&gt;
+
+&lt;/operation&gt;
+
+</pre>
+
+</body>
 </html>
 

Copied: webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/rampartconfig-guide.xml (from r632949, webservices/rampart/trunk/java/modules/documentation/src/site/resources/rampartconfig-guide.html)
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/rampartconfig-guide.xml?p2=webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/rampartconfig-guide.xml&p1=webservices/rampart/trunk/java/modules/documentation/src/site/resources/rampartconfig-guide.html&r1=632949&r2=632958&rev=632958&view=diff
==============================================================================
--- webservices/rampart/trunk/java/modules/documentation/src/site/resources/rampartconfig-guide.html (original)
+++ webservices/rampart/trunk/java/modules/documentation/src/site/xdoc/rampartconfig-guide.xml Sun Mar  2 23:02:19 2008
@@ -1,97 +1,11 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<head>
-    <title>Apache Rampart - Source Repository</title>
-    <style type="text/css" media="all">
-      @import url("./css/maven-base.css");
-      @import url("./css/maven-theme.css");
-      @import url("./css/site.css");
-    </style>
-    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-      </head>
-  <body class="composite">
-    <div id="banner">
-                  <a href="ws.apache.org/rampart/" id="bannerLeft">Apache Rampart</a>
-     <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="breadcrumbs">
-    <div class="xleft">
-        Last Published: 13 Jul 2007
-    </div>
-    <div class="xright"><a href="http://www.apache.org/">Apache</a>
-          <a href="../">WebServices</a>
-       </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="leftColumn">
-      <div id="navcolumn">
-                   <h5>Apache Rampart</h5>
-        <ul>
-              
-    <li class="none">
-              <a href="index.html">About</a>
-        </li>
-    
-            <li class="expanded">
-              <a href="">Downloads</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="download.cgi">Releases</a>
-        </li>
-                  
-    <li class="none">
-              <a href="source-repository.html">Source Code</a>
-        </li>
-              </ul>
-        </li>
-      <li class="expanded">
-              <a href="">Documentation</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="quick-start.html">Quick Start Guide</a>
-    </li>
-    <li class="none">
-              <strong>Rampart Configuration</strong>
-        </li>             
-     <li class="none">
-              <a href="developer-guide.html">Developer Guide</a>
-        </li>
-              </ul>
-        </li>
-    
-             
-    <li class="none">
-              <a href="">Project Information</a>
-                <ul>
-                  
-    <li class="none">
-              <a href="mail-lists.html">Mailing Lists</a>
-        </li>
-                  
-    <li class="none">
-              <a href="http://issues.apache.org/jira/browse/Rampart">Issue Tracking</a>
-        </li>
-                  
-    <li class="none">
-              <a href="dependencies.html">Dependencies</a>
-        </li>
-              </ul>
-        </li>
-          </ul>
-                                       <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
-            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
-          </a>
-                       
-     </div>
-    </div>
-    <div id="bodyColumn">
-      <div id="contentBox">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Apache Rampart - Configuration Guide</title>
+      </head>
+  <body>
+
 <h2>Rampart Configurations</h2>
 <p>RampartConfig element can have any of the following child elements. Schema is available <a href="rampart-config.xsd">here</a></p>
 <table class="bodyTable"><tbody>
@@ -109,13 +23,16 @@
 
     <tr class="b"><td>signatureCrypto</td><td>properties to needed perform signature, such as crypto
         provider, keystore and its password</td><td>
-	&lt;signatureCrypto&gt;<br/>
-		&nbsp;&nbsp;&nbsp;&nbsp;&lt;crypto provider="org.apache.ws.security.components.crypto.Merlin"&gt;<br>
-		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name="org.apache.ws.security.crypto.merlin.keystore.type"&gt;JKS&lt;/property&gt;<br>
-		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name="org.apache.ws.security.crypto.merlin.file"&gt;client.jks&lt;/property&gt;<br>
-		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name="org.apache.ws.security.crypto.merlin.keystore.password"&gt;apache&lt;/property&gt;<br>
-	&nbsp;&nbsp;&nbsp;&nbsp;&lt;/crypto&gt;<br>
-	&lt;signatureCrypto&gt;</td></tr>
+<pre>
+&lt;signatureCrypto&gt;
+	&lt;crypto provider="org.apache.ws.security.components.crypto.Merlin"&gt;
+		&lt;property name="org.apache.ws.security.crypto.merlin.keystore.type"&gt;JKS&lt;/property&gt;
+		&lt;property name="org.apache.ws.security.crypto.merlin.file"&gt;client.jks&lt;/property&gt;
+		&lt;property name="org.apache.ws.security.crypto.merlin.keystore.password"&gt;apache&lt;/property&gt;
+	&lt;/crypto&gt;
+&lt;signatureCrypto&gt;
+</pre>
+		</td></tr>
     <tr class="a"><td>encryptionCypto</td><td>properties to needed perform signature, such as crypto
         provider, keystore and its password</td><td>&lt;encryptionCypto&gt;....crypto element ......&lt;/encryptionCypto&gt;</td></tr>
     <tr class="b"><td>decryptionCrypto</td><td>properties to needed perform signature, such as crypto
@@ -130,29 +47,7 @@
 the org.apache.ws.security.components.crypto.Crypto interface to provide the
 crypto information required by WSS4J. The other properties defined are the
 configuration properties used by the implementation class
-(org.apache.ws.security.components.crypto.Merlin). <a name="ref"></a><a name="references"></a></p></div><div class="subsection"><a name="References"></a><h3>References</h3><p>1. <a href="http://ws.apache.org/wss4j" class="externalLink" title="External Link">Apache WSS4J -Home</a>
-</div>
-    </div>
-    <div class="clear">
-      <hr/>
-    </div>
-    <div id="footer">
-      <div class="xright">&#169;  
-          2005-2007
-    
-          Apache Software Foundation
-          
-  
-
-  
-    
-  
-  
-  </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-  </body>
+(org.apache.ws.security.components.crypto.Merlin). <a name="ref"></a><a name="references"></a></p>
+<a name="References"></a><h3>References</h3>1. <a href="http://ws.apache.org/wss4j">Apache WSS4J -Home</a>
+  </body>
 </html>
-