Author: ruchithf
Date: Mon Mar 3 03:23:05 2008
New Revision: 633040
URL: http://svn.apache.org/viewvc?rev=633040&view=rev
Log:
Updates with the latest changes
Modified:
webservices/rampart/site/java/download.html
webservices/rampart/site/java/index.html
webservices/rampart/site/java/quick-start.html
Modified: webservices/rampart/site/java/download.html
URL:
http://svn.apache.org/viewvc/webservices/rampart/site/java/download.html?rev=633040&r1=633039&r2=633040&view=diff
==============================================================================
--- webservices/rampart/site/java/download.html (original)
+++ webservices/rampart/site/java/download.html Mon Mar 3 03:23:05 2008
@@ -162,39 +162,55 @@
<div id="bodyColumn">
<div id="contentBox">
<html xmlns="http://www.w3.org/1999/xhtml">
-
-<h2>Apache Rampart Releases</h2>
-<p>This page provides links to the release versions of Apache Rampart Java.</p>
-<table class="bodyTable">
-<tbody>
-<tr class="a">
-<th>Version</th>
-<th>Date</th>
-<th>Description</th>
-</tr>
-<tr class="b">
-<td><a href="download/1.3/download.cgi"><strong>1.3</strong></a></td>
-<td> </td>
-<td>1.3 Release (Mirrored)</td>
-</tr>
-<tr class="a">
-<td><a href="download/1.2/download.cgi"><strong>1.2</strong></a></td>
-<td> </td>
-<td>1.2 Release (Mirrored)</td>
-</tr>
-<tr class="b">
-<td><a href="download/1.1/download.cgi"><strong>1.1</strong></a></td>
-<td></td>
-<td>1.1 Release (Mirrored)</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Apache Rampart Distributions : <a
href="http://people.apache.org/~ruchithf/rampart/SNAPSHOT">Nightly
-builds</a></strong></p>
-<p><strong>Maven Repository: <a
href="http://people.apache.org/repo/m2-ibiblio-rsync-repository/">
-Released Apache Rampart jars</a> | <a
href="http://people.apache.org/repo/m2-snapshot-repository/">Nightly
-SNAPSHOT</a><a href=""></a></strong></p>
-
+
+ <h2>Apache Rampart Releases</h2>
+ <p>This page provides links to the release versions of Apache
Rampart Java.</p>
+ <table class="bodyTable">
+ <tbody>
+ <tr class="a">
+ <th>Version</th>
+ <th>Date</th>
+ <th>Description</th>
+ </tr>
+ <tr class="b">
+ <td>
+ <a
href="download/1.3/download.cgi">
+ <strong>1.3</strong>
+ </a>
+ </td>
+ <td></td>
+ <td>1.3 Release (Mirrored)</td>
+ </tr>
+ <tr class="a">
+ <td>
+ <a
href="download/1.2/download.cgi">
+ <strong>1.2</strong>
+ </a>
+ </td>
+ <td></td>
+ <td>1.2 Release (Mirrored)</td>
+ </tr>
+ <tr class="b">
+ <td>
+ <a
href="download/1.1/download.cgi">
+ <strong>1.1</strong>
+ </a>
+ </td>
+ <td></td>
+ <td>1.1 Release (Mirrored)</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>
+ <strong>Apache Rampart Distributions : <a
href="http://people.apache.org/~ruchithf/rampart/SNAPSHOT">Nightly builds</a>
+ </strong>
+ </p>
+ <p>
+ <strong>Maven Repository: <a
href="http://people.apache.org/repo/m2-ibiblio-rsync-repository/">Released
Apache Rampart jars</a> | <a
href="http://people.apache.org/repo/m2-snapshot-repository/">Nightly
SNAPSHOT</a>
+ <a href=""></a>
+ </strong>
+ </p>
+
</html>
</div>
</div>
Modified: webservices/rampart/site/java/index.html
URL:
http://svn.apache.org/viewvc/webservices/rampart/site/java/index.html?rev=633040&r1=633039&r2=633040&view=diff
==============================================================================
--- webservices/rampart/site/java/index.html (original)
+++ webservices/rampart/site/java/index.html Mon Mar 3 03:23:05 2008
@@ -12,7 +12,7 @@
<html>
<head>
<title>Apache Rampart -
- Apache Rampart</title>
+ Apache Rampart</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@@ -164,24 +164,24 @@
<div id="contentBox">
-
+
+
-
-<a name="Apache Rampart"></a><div class="section"><h2>Apache Rampart</h2>
-<p>Rampart is the security module of Axis2. It secures SOAP messages
+ <a name="Apache Rampart"></a><div class="section"><h2>Apache
Rampart</h2>
+ <p>Rampart is the security module of Axis2. It secures
SOAP messages
according to specifications in the WS-Security stack. Rampart implements the
following specifications:</p>
-<ul>
- <li>WS - Security 1.0</li>
- <li>WS - Secure Conversation - February 2005</li>
- <li>WS - Security Policy - 1.1 - July 2005</li>
- <li>WS - Trust - February 2005</li>
- <li>WS - Trust - WS-SX spec - EXPERIMENTAL</li>
-</ul>
-</div>
-
+ <ul>
+ <li>WS - Security 1.0</li>
+ <li>WS - Secure Conversation - February
2005</li>
+ <li>WS - Security Policy - 1.1 - July 2005</li>
+ <li>WS - Trust - February 2005</li>
+ <li>WS - Trust - WS-SX spec - EXPERIMENTAL</li>
+ </ul>
+ </div>
+
</div>
</div>
Modified: webservices/rampart/site/java/quick-start.html
URL:
http://svn.apache.org/viewvc/webservices/rampart/site/java/quick-start.html?rev=633040&r1=633039&r2=633040&view=diff
==============================================================================
--- webservices/rampart/site/java/quick-start.html (original)
+++ webservices/rampart/site/java/quick-start.html Mon Mar 3 03:23:05 2008
@@ -162,55 +162,65 @@
<div id="bodyColumn">
<div id="contentBox">
<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- Apache Rampart - Source Repository
- </head>
-
-<h2>Rampart Quick Start Guide</h2>
-
-<h3>Installing Rampart in Axis2</h3>
-<p>Steps to install</p>
-<ol type="1">
-<li>If you haven't installed Axis2, then download and extract the standard
binary distribution. Make sure you have set the AXIS2_HOME environment
variable</li>
-<li>Run ant from the "samples" directory to copy the required
libraries and modules to relevant directories in AXIS2_HOME.</li>
-<li>Download xalan-2.7.0.jar from <a
href="http://www.apache.org/dist/java-repository/xalan/jars/">here</a> and put
under AXIS2_HOME\lib folder, if you use JDK 1.5.</li>
-<li>Download log4j.jar from <a
href="http://people.apache.org/repo/m1-ibiblio-rsync-repository/log4j/jars/">here</a>
and put under AXIS2_HOME\lib</li>
-</ol>
-
-<h3>Running Samples</h3>
-Now we'll look at how to run the first sample inside samples/policy folder.
-<ol type="1">
-<li>Open a console and change the directory to sample/policy and give the
following command. This will start the server at port 8080</li>
-<pre><code>$ant service.01</code></pre>
-<li>Open a new console and change the directory to sample/policy and type the
following command.</li>
-<pre><code>$ant client.01</code></pre>
-</ol>
-Congratulations! Now you have executed the first sample. Rest of the samples
can be run by changing the sample number.
-
-<h3>Understanding the first sample</h3>
-
-<ul><li>Engaging Rampart</li></ul>
-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.
-Observe how module has been engaged in server side by opening
samples/policy/sample01/services.xml. The following line has engaged the module.
-Engaging Rampart at client side is done programatically as follows.
-<pre>
+ <head>
+ Apache Rampart - Source Repository
+ </head>
+
+ <h2>Rampart Quick Start Guide</h2>
+
+ <h3>Installing Rampart in Axis2</h3>
+ <p>Steps to install</p>
+ <ol type="1">
+ <li>If you haven't installed Axis2, then download and
extract the standard binary distribution. Make sure you have set the AXIS2_HOME
environment variable</li>
+ <li>Run ant from the "samples" directory to
copy the required libraries and modules to relevant directories in
AXIS2_HOME.</li>
+ <li>Download xalan-2.7.0.jar from <a
href="http://www.apache.org/dist/java-repository/xalan/jars/">here</a> and put
under AXIS2_HOME\lib folder, if you use JDK 1.5.</li>
+ <li>Download log4j.jar from <a
href="http://people.apache.org/repo/m1-ibiblio-rsync-repository/log4j/jars/">here</a>
and put under AXIS2_HOME\lib</li>
+ </ol>
+
+ <h3>Running Samples</h3>
+ Now we'll look at how to run the first sample inside
samples/policy folder.
+ <ol type="1">
+ <li>Open a console and change the directory to
sample/policy and give the following command. This will start the server at
port 8080</li>
+ <pre>
+<code>$ant service.01</code>
+ </pre>
+ <li>Open a new console and change the directory to
sample/policy and type the following command.</li>
+ <pre>
+<code>$ant client.01</code>
+ </pre>
+ </ol>
+ Congratulations! Now you have executed the first sample. Rest
of the samples can be run by changing the sample number.
+
+ <h3>Understanding the first sample</h3>
+
+ <ul>
+ <li>Engaging Rampart</li>
+ </ul>
+ 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.
+ Observe how module has been engaged in server side by opening
samples/policy/sample01/services.xml. The following line has engaged the module.
+ Engaging Rampart at client side is done programatically as
follows.
+ <pre>
ServiceClient client = new ServiceClient(ctx, null);<br></br>
client.engageModule("rampart");
</pre>
-<ul><li>Understanding policy</li></ul>
-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 <RampartConfig> in policy.xml
defines Rampart specific configurations.
-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>More details on RampartConfig can be found <a
href="ampartconfig-guide.html">here</a>.</p>
-
-<ul><li>Viewing the Message on wire</li></ul>
-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 <wsse:Security> header in the SOAP message.
-
-<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>
+ <ul>
+ <li>Understanding policy</li>
+ </ul>
+ 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
<RampartConfig> in policy.xml defines Rampart specific configurations.
+ 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>More details on RampartConfig can be found <a
href="rampartconfig-guide.html">here</a>.</p>
+
+ <ul>
+ <li>Viewing the Message on wire</li>
+ </ul>
+ 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 <wsse:Security> header in the SOAP message.
+
+ <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>
-<pre>
+ <pre>
<module ref="rampart" />
@@ -242,7 +252,7 @@
</pre>
-
+
</html>
</div>
</div>