<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Nandana's Blog</title>
	<atom:link href="http://nandanasm.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nandanasm.wordpress.com</link>
	<description>Complexity is the worst enemy of Security</description>
	<lastBuildDate>Wed, 08 Oct 2008 11:41:40 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='nandanasm.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/393c456c97fb547e130fadbb4a034ff8?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Nandana's Blog</title>
		<link>http://nandanasm.wordpress.com</link>
	</image>
			<item>
		<title>Moved my blog to blogger</title>
		<link>http://nandanasm.wordpress.com/2008/10/08/moved-my-blog-to-blogger/</link>
		<comments>http://nandanasm.wordpress.com/2008/10/08/moved-my-blog-to-blogger/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 11:41:40 +0000</pubDate>
		<dc:creator>nandana83</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://nandanasm.wordpress.com/?p=12</guid>
		<description><![CDATA[I moved my blog &#8220;Nandana Mihindukulasooriya&#8217;s Blog&#8221; to blogger sometime back but forgot to leave a note here.  So my new posts will be on &#8220;Nandana Mihindukulasooriya&#8217;s Blog&#8221; in blogger.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=12&subd=nandanasm&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I moved my blog <a href="http://nandana83.blogspot.com/" target="_self">&#8220;Nandana Mihindukulasooriya&#8217;s Blog&#8221;</a> to blogger sometime back but forgot to leave a note here.  So my new posts will be on <a href="http://nandana83.blogspot.com/" target="_self">&#8220;Nandana Mihindukulasooriya&#8217;s Blog&#8221;</a> in blogger.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nandanasm.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nandanasm.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nandanasm.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nandanasm.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nandanasm.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nandanasm.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nandanasm.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nandanasm.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nandanasm.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nandanasm.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=12&subd=nandanasm&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nandanasm.wordpress.com/2008/10/08/moved-my-blog-to-blogger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9d5d34617e364c8ed4a41e5654defb5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nandana</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote dubbuging with Apache Tomcat</title>
		<link>http://nandanasm.wordpress.com/2008/02/13/remote-dubbuging-with-apache-tomcat/</link>
		<comments>http://nandanasm.wordpress.com/2008/02/13/remote-dubbuging-with-apache-tomcat/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 08:06:30 +0000</pubDate>
		<dc:creator>nandana83</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache tomcat]]></category>

		<guid isPermaLink="false">http://nandanasm.wordpress.com/2008/02/13/remote-dubbuging-with-apache-tomcat/</guid>
		<description><![CDATA[If you are java web service developer, you know how useful remote debugging is. So I was wondering how to enable remote debugging is Apache tomcat. It is very easy indeed. You have to just set only a single environment variable and that&#8217;s it.
In Linux,
export CATALINA_OPTS=&#8221;-Xdebug -Xnoagent /
-Djava.compiler=NONE /
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=&#60;port&#62;&#8221;
If you want to read more on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=11&subd=nandanasm&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you are java web service developer, you know how useful remote debugging is. So I was wondering how to enable remote debugging is Apache tomcat. It is very easy indeed. You have to just set only a single environment variable and that&#8217;s it.</p>
<p>In Linux,</p>
<p>export CATALINA_OPTS=&#8221;-Xdebug -Xnoagent /</p>
<p>-Djava.compiler=NONE /<br />
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=&lt;port&gt;&#8221;</p>
<p>If you want to read more on this, please read this <a href="http://wso2.org/library/225" title="How to debug a web service" target="_blank">tutorial</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nandanasm.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nandanasm.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nandanasm.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nandanasm.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nandanasm.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nandanasm.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nandanasm.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nandanasm.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nandanasm.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nandanasm.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nandanasm.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nandanasm.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=11&subd=nandanasm&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nandanasm.wordpress.com/2008/02/13/remote-dubbuging-with-apache-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9d5d34617e364c8ed4a41e5654defb5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nandana</media:title>
		</media:content>
	</item>
		<item>
		<title>Live online training from WSO2 &#8211; Apache Rampart</title>
		<link>http://nandanasm.wordpress.com/2008/01/29/live-online-training-from-wso2-apache-rampart/</link>
		<comments>http://nandanasm.wordpress.com/2008/01/29/live-online-training-from-wso2-apache-rampart/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 08:39:22 +0000</pubDate>
		<dc:creator>nandana83</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nandanasm.wordpress.com/?p=8</guid>
		<description><![CDATA[you can register for the training here.
Course Summary:
Apache Rampart is an Axis2 module that supports various service security standards. This 3-hour course is designed to give an overview on Web services security for an audience who is new to this area.
 Course Objectives:

 Understand WS-Security concepts
 Learn how to use Apache Rampart to meet different [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=8&subd=nandanasm&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>you can register for the training <a href="http://wso2.com/training/">here</a>.</p>
<h4>Course Summary:</h4>
<p>Apache Rampart is an Axis2 module that supports various service security standards. This 3-hour course is designed to give an overview on Web services security for an audience who is new to this area.</p>
<h4> Course Objectives:</h4>
<ul>
<li> Understand WS-Security concepts</li>
<li> Learn how to use Apache Rampart to meet different security requirements</li>
</ul>
<h4> Duration:</h4>
<ul>
<li> 3 hours</li>
</ul>
<h4> Audience:</h4>
<ul>
<li> Beginners with a basic knowledge of XML and SOAP.</li>
</ul>
<h4> Prerequisites:</h4>
<ul>
<li> None.</li>
</ul>
<h4> Program:</h4>
<ul>
<li>XML-Signature</li>
<li>XML Encryption</li>
<li>WS-Security
<ul>
<li>UsernameToken authentication</li>
<li>Encryption</li>
<li>Signature</li>
</ul>
</li>
<li>Secure multiple messages with WS-Secure Conversation and WS-Trust</li>
<li>WS-Security Policy</li>
<li>Apache Implementations – WSS4J and Rampart
<ul>
<li>Introduction to Apache WSS4J architecture</li>
<li>Introduction to Apache Rampart architecture</li>
</ul>
</li>
<li>Demonstration
<ul>
<li>Different configuration approaches of Apache Rampart (Here we will explore all samples of the standard Apache Rampart release)</li>
<li>Setting up clients and services with parameter based and policy based configurations.</li>
<li>Securing services and clients using both dynamic and static configuration approaches.</li>
</ul>
</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nandanasm.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nandanasm.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nandanasm.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nandanasm.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nandanasm.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nandanasm.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nandanasm.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nandanasm.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nandanasm.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nandanasm.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nandanasm.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nandanasm.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=8&subd=nandanasm&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nandanasm.wordpress.com/2008/01/29/live-online-training-from-wso2-apache-rampart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9d5d34617e364c8ed4a41e5654defb5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nandana</media:title>
		</media:content>
	</item>
		<item>
		<title>Axis2 Based Web Services Application Server, WSAS 2.2 released</title>
		<link>http://nandanasm.wordpress.com/2008/01/25/axis2-based-web-services-application-server-wsas-22-released/</link>
		<comments>http://nandanasm.wordpress.com/2008/01/25/axis2-based-web-services-application-server-wsas-22-released/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 12:48:55 +0000</pubDate>
		<dc:creator>nandana83</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Axis2]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[WSAS]]></category>
		<category><![CDATA[WSO2]]></category>

		<guid isPermaLink="false">http://nandanasm.wordpress.com/2008/01/25/axis2-based-web-services-application-server-wsas-22-released/</guid>
		<description><![CDATA[The WSO2 WSAS team is pleased to announce the release of the WSO2 WSAS 2.2. WSO2 WSAS is an enterprise ready Web services engine powered by Apache Axis2 release under the Apache Software License 2.0.
This release can be downloaded from http://wso2.org/projects/wsas/java
Maven2 binary distribution download
- Group Id : org.wso2.wsas
- Artifact Id : wso2wsas
- Version : 2.2
- [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=7&subd=nandanasm&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The WSO2 WSAS team is pleased to announce the release of the WSO2 WSAS 2.2. WSO2 WSAS is an enterprise ready Web services engine powered by Apache Axis2 release under the Apache Software License 2.0.</p>
<p>This release can be downloaded from <a href="http://wso2.org/projects/wsas/java" class="moz-txt-link-freetext">http://wso2.org/projects/wsas/java</a></p>
<p>Maven2 binary distribution download<br />
- Group Id : org.wso2.wsas<br />
- Artifact Id : wso2wsas<br />
- Version : 2.2<br />
- Type : zip<br />
- WSO2 Maven2 Repository URL : <a href="http://dist.wso2.org/maven2/" class="moz-txt-link-freetext">http://dist.wso2.org/maven2/</a></p>
<p>Maven2 source distribution download<br />
- Group Id : org.wso2.wsas<br />
- Artifact Id : wso2wsas<br />
- Version : 2.2<br />
- Type : zip<br />
- Classifier : src<br />
- WSO2 Maven2 Repository URL : <a href="http://dist.wso2.org/maven2/" class="moz-txt-link-freetext">http://dist.wso2.org/maven2/</a></p>
<p>From the WSO2 WSAS 2.2 &#8211; Release Note &#8211; 22nd Jan 2008<br />
=====================================================</p>
<p>WSO2 WSAS is an enterprise ready Web services engine powered by Apache Axis2 and which offers a complete middleware solution. It is a lightweight, high performing platform for Service Oriented Architectures, enabling business logic and applications.<br />
Bringing together a number of Apache Web services projects, WSO2 WSAS provides a secure, transactional and reliable runtime for deploying and managing Web services.</p>
<p>Key Features<br />
&#8212;&#8212;&#8212;&#8212;<br />
* Data services support &#8211; Expose you enterprise data as a services in a  jiffy<br />
* WSAS IDE &#8211; Eclipse IDE integration<br />
* Clustering support for High Availability &amp; High Scalability<br />
* Full support for WS-Security, WS-Trust, WS-Policy and WS-Secure  Conversation and XKMS<br />
* EJB service provider support &#8211; Expose your EJBs as services<br />
* Axis1 backward compatibility &#8211; Deploy Axis1 services on WSAS &amp; Engage  advanced WS-* protocols in front of legacy services<br />
* JMX &amp; Web interface based monitoring and management<br />
* WS-* &amp; REST support<br />
* GUI, command line &amp; IDE based tools for Web service development</p>
<p>New Features In This Release<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
* Improved Data Services support including New &amp; improved UI, and  database connection pooling<br />
* WS-Security 1.1 support<br />
* Improved clustering support<br />
* Improved JSR-181 &amp; JAXWS support<br />
* JMX based monitoring<br />
* Graceful shutdown &amp; restart of the server<br />
Serve all pending requests before shutting down or restarting  the server<br />
* Improvements to the Management Console<br />
* Various bug fixes to Apache Axis2, Apache Rampart &amp; WSAS</p>
<p>Data Services &#8211; Bringing Enterprise Data to Web<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
* Service enable data locked in relational databases, CSV &amp; Excel files  in no time<br />
* Zero code. Simple descriptor file describes the data to service mapping<br />
* Controlled access to your data<br />
* Customizable XML output<br />
* Benefit from REST &amp; WS-* support<br />
* Built-in Connection pooling support<br />
* Supports exposing Stored procedures &amp; functions<br />
* Built-in caching<br />
* Throttling &#8211; to ensure your database is never overloaded.<br />
* Easy configuration via graphical console<br />
* Test your services via Try-it tool</p>
<p>Training<br />
&#8212;&#8212;&#8211;</p>
<p>WSO2 Inc. offers a variety of professional Training Programs, including<br />
training on general Web services as well as WSO2 WSAS, Apache Axis2,  Data Services<br />
and a number of other products.</p>
<p>For additional support information please refer to<br />
<a href="http://wso2.com/training/course-catalog/" class="moz-txt-link-freetext">http://wso2.com/training/course-catalog/</a></p>
<p>Support<br />
&#8212;&#8212;-</p>
<p>WSO2 Inc. offers a variety of development and production support<br />
programs, ranging from Web-based support up through normal business<br />
hours, to premium 24&#215;7 phone support.</p>
<p>For additional support information please refer to <a href="http://wso2.com/support/" class="moz-txt-link-freetext">http://wso2.com/support/</a></p>
<p>For more information on WSO2 WSAS, visit the WSO2 Oxygen Tank  (<a href="http://wso2.org/" class="moz-txt-link-freetext">http://wso2.org</a>)</p>
<p>How to do various things with WSAS &#8211; WSAS HOWTO  Series(<a href="http://wso2.org/library/2707" class="moz-txt-link-freetext">http://wso2.org/library/2707</a>)</p>
<p>For further information see the full release note  <a href="http://wso2.org/project/wsas/java/2.2/docs/release_notes.html" class="moz-txt-link-freetext">http://wso2.org/project/wsas/java/2.2/docs/release_notes.html</a></p>
<p>Thanks for your interest in WSO2 WSAS<br />
&#8212; WSO2 WSAS Team</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nandanasm.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nandanasm.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nandanasm.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nandanasm.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nandanasm.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nandanasm.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nandanasm.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nandanasm.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nandanasm.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nandanasm.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nandanasm.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nandanasm.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=7&subd=nandanasm&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nandanasm.wordpress.com/2008/01/25/axis2-based-web-services-application-server-wsas-22-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9d5d34617e364c8ed4a41e5654defb5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nandana</media:title>
		</media:content>
	</item>
		<item>
		<title>WS &#8211; Security Policy</title>
		<link>http://nandanasm.wordpress.com/2007/10/31/ws-security-policy/</link>
		<comments>http://nandanasm.wordpress.com/2007/10/31/ws-security-policy/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 03:46:04 +0000</pubDate>
		<dc:creator>nandana83</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rampart]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://nandanasm.wordpress.com/2007/10/31/ws-security-policy/</guid>
		<description><![CDATA[Web services security policy language defines a way to express constraints and requirements of a soap message to provide security. These constraints and requirements are defined as policy assertions and  these assertions define how messages are secured. These assertions can be categorized in to

Security binding assertions
Protection assertions
Token assertions
Supporting token assertions
WSS : Soap message security [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=4&subd=nandanasm&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Web services security policy language defines a way to express constraints and requirements of a soap message to provide security. These constraints and requirements are defined as policy assertions and  these assertions define how messages are secured. These assertions can be categorized in to</p>
<ul>
<li>Security binding assertions</li>
<li>Protection assertions</li>
<li>Token assertions</li>
<li>Supporting token assertions</li>
<li>WSS : Soap message security assertions</li>
<li>WS &#8211; Trust assertions<span style="color:Black;"></span></li>
</ul>
<p><strong><span style="color:Black;">Security Binding Assertions</span></strong></p>
<p>Security binding assertions defines main security mechanism used to secure the messages. This assertion defines some properties and these properties define how messages are secured. These also defines which tokens should be used to secure messages using Token assertions. There are 3 security binding assertions, Transport binding, Symmetric binding and Asymmetric binding. If transport binding is used, message protection is provided by means other than SOAP message security. For example, Transport biding can use HTTPS transport to secure the message between the client and the server. If we use Asymmetric binding assertion, we can easily make both the client and server authenticate them selves using the security tokens defined in this policy assertion. Under this assertion we can specify two requirements with initiator token assertion and recipient token assertion. These assertions defines what type of token should be used by initiator and recipient. When Symmetric binding is used , first encrypted key is derived using the recipients security token , defined in the either encryption token assertion or protection token assertion. Then this encrypted key is used to secure the message back and forth between the recipient and the initiator. This binding facilitates the need to secure the messages between anonymous clients and the server. Only the server has to posses a security token.</p>
<p><strong>Security Binding Properties<br />
</strong><br />
Security biding assertions contain some properties which defines how messages are secured.</p>
<ul>
<li>Algorithm Suite   &#8211; this property defines a algorithmic suite to be used with cryptographic operations. So it is very easy to define all the algorithms using one property. What are the available  algorithmic suites and which algorithms are used in those suites can be found in the WS &#8211; Security Policy specification.</li>
<li>Timestamp  &#8211; defines whether timestamp should be included in the message</li>
<li>Protection Order &#8211;  when we have to do both signature and encryption, this defines whether to sign then encrypt or encrypt then sign.</li>
<li>Signature Protection &#8211; defines whether signature should be encrypted. Signature confirmation elements also will be encrypted.</li>
<li>Token protection &#8211; defines whether signature should cover the security token which used to generate the signature</li>
<li>Entire Header and Body Signatures &#8211;  defines whether signatures should cover only the entire body and entire header elements and not the descendant of elements.</li>
<li>Security Header Layout &#8211; defines layout rules which applies to security header</li>
</ul>
<p><strong>Protection Assertions</strong></p>
<p>These assertions defined what message parts are protected and how they are protected. There are mainly two types of protection token assertions. Integrity Assertions and Confidentiality Assertions. Integrity assertions define what elements of the message should be signed and confidentiality assertions defines what elements should be encrypted. Four protections assertions are</p>
<ul>
<li>Signed Parts Assertion &#8211; defines whether body should be signed and what soap header elements should be signed</li>
<li>Signed Elements Assertion &#8211; defines arbitrary elements to be signed using XPath</li>
<li>Encrypted Parts Assertion &#8211; defines whether body should be signed and what soap header elements should be encrypted</li>
<li>Encrypted Elements Assertion &#8211; defines arbitrary elements to be encrypted using XPath</li>
</ul>
<p><strong>Token Assertions</strong></p>
<p>These assertions specify the type of the tokens to be used to protect the messages. These assertions also define two important properties about the tokens used to protect the message.</p>
<ul>
<li>Token Inclusion &#8211; defines when to include the binary tokens in the message</li>
<li>Derived Keys &#8211; defines whether derived keys should be used</li>
</ul>
<p>some of the token types defined in the WS &#8211; Security Policy specification are,</p>
<ul>
<li>Username Tokens</li>
<li>X509 Tokens</li>
<li>Issued Tokens</li>
<li>Secure Conversation Tokens</li>
<li>SAML Tokens</li>
<li>Https Tokens</li>
</ul>
<p><strong>Supporting Token Assertions</strong></p>
<p>These tokens defines additional tokens to augment the claims provide by the token which is used to generate the message signature. There are four types of supporting tokens.</p>
<ul>
<li>Supporting  Tokens &#8211; additional tokens to included in the security header</li>
<li>Singed Supporting Tokens &#8211; additional tokens to be included in the security header which are also covered by the message signature</li>
<li>Endorsing Supporting Tokens &#8211;  These tokens sign the message signature ( entire ds:Signature element ). So we get an additional signature element which is the signature of the original message signature.</li>
<li>Signed Endorsing Supporting Tokens &#8211; Here the supporting token is covered by the message signature. And the message signature again is signed using the supporting token.</li>
</ul>
<p><strong>WSS &#8211; SOAP Message Security Options</strong></p>
<p>These options defines the requirements that the initiator and the recipient must support. There are two assertions , Wss10 assertion and Wss11 assertion which defines these requirements.</p>
<p><strong>      Wss10 Assertion</strong></p>
<ul>
<li>Direct References &#8211; defines whether initiator and recipient must be able to process direct reference</li>
<li>Key Identifier References &#8211;  defines whether initiator and recipient must be able to process key identifier references</li>
<li>Issuer Serial References &#8211;  defines whether initiator and recipient must be able to process issuer serial references</li>
<li>External URI References &#8211;  defines whether initiator and recipient must be able to process external URI references</li>
<li>Embedded Token References &#8211;  defines whether initiator and recipient must be able to process embedded token references<span style="color:Black;"></span></li>
</ul>
<p><span style="color:Black;"><strong>Wss11 Assertion</strong> </span></p>
<ul>
<li>Thumbprint References &#8211;  defines whether initiator and recipient must be able to process thumbprint references</li>
<li>EncryptedKey References &#8211;  defines whether initiator and recipient must be able to process encrypted key references</li>
<li>Signature Confirmation &#8211; defines whether signature confirmation as defined in SOAP Message Security 1.1 specification</li>
</ul>
<p><strong>WS &#8211; Trust Assertions</strong></p>
<p>This assertion defines the requirements for exchanges based on WS-Trust, specifically with client and server challenges and entropy behaviors.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nandanasm.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nandanasm.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nandanasm.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nandanasm.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nandanasm.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nandanasm.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nandanasm.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nandanasm.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nandanasm.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nandanasm.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nandanasm.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nandanasm.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=4&subd=nandanasm&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nandanasm.wordpress.com/2007/10/31/ws-security-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9d5d34617e364c8ed4a41e5654defb5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nandana</media:title>
		</media:content>
	</item>
		<item>
		<title>Using UsernameTokens ( With different username to cert alias ) as supporting tokens in Rampart</title>
		<link>http://nandanasm.wordpress.com/2007/10/29/using-usernametokens-with-different-username-to-cert-alias-as-supporting-tokens-in-rampart/</link>
		<comments>http://nandanasm.wordpress.com/2007/10/29/using-usernametokens-with-different-username-to-cert-alias-as-supporting-tokens-in-rampart/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 12:58:14 +0000</pubDate>
		<dc:creator>nandana83</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nandanasm.wordpress.com/2007/10/29/using-usernametokens-with-different-username-to-cert-alias-as-supporting-tokens-in-rampart/</guid>
		<description><![CDATA[Recently there was few mails about problems faced when using the Username token as supporting tokens along with X509 certificates. In these scenarios we use X509 Certificate to sign the message and also attach Username Token as a supporting token. So let&#8217;s see how we can configure rampart for these scenarios. I always preferred the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=5&subd=nandanasm&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently there was few mails about problems faced when using the Username token as supporting tokens along with X509 certificates. In these scenarios we use X509 Certificate to sign the message and also attach Username Token as a supporting token. So let&#8217;s see how we can configure rampart for these scenarios. I always preferred the policy based configuration so here also I will use policy based configuration as it is more flexible ( my opinion <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) than the basic way of rampart configuration.</p>
<p>When we use both Username and X509 Certificate, there are 4 scenarios possible.</p>
<p>1. X509 Certificate ( which is used to sign ) alias and the username is the same. Cert password and Username Token password is the same.</p>
<p>2. X509 Certificate ( which is used to sign ) alias and the username is the same. Cert password is different from the password of the Username Token.</p>
<p>3. X509 Certificate ( which is used to sign ) alias and the username is different. Cert password and the Username Token password is the same.</p>
<p>4.  X509 Certificate ( which is used to sign ) alias and the username is different. Cert password and the Username Token password is different.</p>
<p>Rampart can cater all these four situations. But before we look at how to configure rampart in each of these situations, let&#8217;s look at how rampart uses password callback in above situations. There are two situation we use the password callback. One is to extract user&#8217;s cert password when we want to get that key to sign the message. Second one is when we want to create a Username Token with the password.</p>
<p>Signature<br />
<em>Get the user &#8211; First check whether userCertAlias present<br />
String user = rpd.getRampartConfig().getUserCertAlias();<br />
// If userCertAlias is not present, use user property as Alias<br />
if (user == null) {<br />
user = rpd.getRampartConfig().getUser();<br />
}<br />
CallbackHandler handler = RampartUtil.getPasswordCB(rmd);<br />
WSPasswordCallback[] cb =</em></p>
<p><em>{ new WSPasswordCallback(user,WSPasswordCallback.SIGNATURE) };<br />
handler.handle(cb);<br />
password = cb[0].getPassword();</em></p>
<p>Username Token<br />
<em>user = rpd.getRampartConfig().getUser();<br />
CallbackHandler handler = RampartUtil.getPasswordCB(rmd);<br />
WSPasswordCallback[] cb =</em></p>
<p><em>{ new WSPasswordCallback(user,WSPasswordCallback.USERNAME_TOKEN) };<br />
handler.handle(cb);<br />
password = cb[0].getPassword();</em></p>
<p>There are two important things to note. First thing is when we want to get the password of a Username Token with a given username, we set the usage of the callback to WSPasswordCallback.USERNAME_TOKEN. If what rampart want is the cert password, it sets the usage toWSPasswordCallback.SIGNATURE as you can see in the latter case. We can use this usage parameter in our callback to provide the correct password according to usage.  Second thing is the before you when it is signature, we first check whether userCertAlias parameter is set and if it is set we use it as the cert alias. If it is not set Rampart will use the good old user parameter as the cert alias of the certificate used in signature.</p>
<p>Now lets see how can we configure Rampart in each of the above scenarios.</p>
<p>Scenario 1 : Say  both username and cert alias is &#8220;Alice&#8221; and password is &#8220;password&#8221;.</p>
<p>So first we set both the username of the Username Token and the cert alias using &#8220;user&#8221; parameter in Rampart config. What are the parameters available in Rampart config can be found <a href="http://ws.apache.org/rampart/rampartconfig-guide.html">here</a>.</p>
<p>&lt;ramp:user&gt;Alice&lt;/ramp:user&gt;</p>
<p>and all you need is a simple callback,</p>
<p><em>public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {<br />
WSPasswordCallback pwcb = (WSPasswordCallback)callbacks[0];</em></p>
<p><em>String id = pwcb.getIdentifer();</em></p>
<p><em>    if(&#8220;Alice&#8221;.equals(id)  ) {<br />
pwcb.setPassword(&#8220;password&#8221;);<br />
}</em></p>
<p><em>}</em></p>
<p>Scenario 2 : Say both username and cert alias is &#8220;Alice&#8221;. But the password of the Username Token id &#8220;password&#8221; and password of the cert is &#8220;password2&#8243;. Here also we only need to set the &#8220;user&#8221; parameter to &#8220;Alice&#8221; in the Rampart config. But in the password callback , we have make use of the usage property to provide the correct password.</p>
<p><em>String id = pwcb.getIdentifer();</em></p>
<p><em>int usage = pwcb.getUsage();</em></p>
<p><em>if(&#8220;Alice&#8221;.equals(id)  &amp;&amp; usage == WSPasswordCallback.USERNAME_TOKEN) {<br />
pwcb.setPassword(&#8220;password&#8221;);<br />
}else if (&#8220;Alice&#8221;.equals(id)  &amp;&amp;  usage == WSPasswordCallback.SIGNATURE) {<br />
pwcb.setPassword(&#8220;password2);<br />
}</em></p>
<p>Scenario 3 : Now the username of  Username Token is &#8220;Alice&#8221; and alias for the cert is &#8220;Alice2&#8243;. Password for both cases is &#8220;password&#8221;. Here we can&#8217;t just do only with  &#8220;user&#8221; parameter of the Rampart config. So we use both &#8220;user&#8221; parameter and &#8220;userCertAlias&#8221; parameter.</p>
<p>&lt;ramp:user&gt;Alice&lt;/ramp:user&gt;</p>
<p>&lt;ramp:userCertAlias&gt;Alice&lt;/ramp:userCertAlias&gt;</p>
<p>callback used in the scenario 1 will work for this too.</p>
<p>Scenario 4: Here the username of  Username Token is &#8220;Alice&#8221; and alias for the cert is &#8220;Alice2&#8243;.And the password of the Username Token id &#8220;password&#8221; and password of the cert is &#8220;password2&#8243;. In this scenario we have to use the Rampart configuration used in scenario 3 and the password callback used in scenario 2.</p>
<p>To learn more about how to configure Rampart , go through the samples modules which are shipped with Rampart distribution. Rampart current release can be downloaded <a href="http://ws.apache.org/rampart/download.cgi" target="_blank">here</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nandanasm.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nandanasm.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nandanasm.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nandanasm.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nandanasm.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nandanasm.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nandanasm.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nandanasm.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nandanasm.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nandanasm.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nandanasm.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nandanasm.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=5&subd=nandanasm&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nandanasm.wordpress.com/2007/10/29/using-usernametokens-with-different-username-to-cert-alias-as-supporting-tokens-in-rampart/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9d5d34617e364c8ed4a41e5654defb5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nandana</media:title>
		</media:content>
	</item>
		<item>
		<title>Qumana , will blogging work for me atlast ?</title>
		<link>http://nandanasm.wordpress.com/2007/10/29/qumana-will-blogging-work-for-me-atlast/</link>
		<comments>http://nandanasm.wordpress.com/2007/10/29/qumana-will-blogging-work-for-me-atlast/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 05:28:39 +0000</pubDate>
		<dc:creator>nandana83</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nandanasm.wordpress.com/2007/10/29/qumana-will-blogging-work-for-me-atlast/</guid>
		<description><![CDATA[I always wanted to be a blogger since I was in uni. But it never worked out. Main reason, was the connectivity. When I was connected I didn&#8217;t have the time to blog. When I was free at home I didn&#8217;t have the connectivity. So at last I thought I would go for a offline [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=3&subd=nandanasm&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I always wanted to be a blogger since I was in uni. But it never worked out. Main reason, was the connectivity. When I was connected I didn&#8217;t have the time to blog. When I was free at home I didn&#8217;t have the connectivity. So at last I thought I would go for a offline blogging tool. So here am I with Qumana , hopefully it will work for me.  </p>
<p style="color:#008;text-align:right;"><em>Powered by</em> <a href="http://www.qumana.com/">Qumana</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nandanasm.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nandanasm.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nandanasm.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nandanasm.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nandanasm.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nandanasm.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nandanasm.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nandanasm.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nandanasm.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nandanasm.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nandanasm.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nandanasm.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nandanasm.wordpress.com&blog=2010325&post=3&subd=nandanasm&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nandanasm.wordpress.com/2007/10/29/qumana-will-blogging-work-for-me-atlast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9d5d34617e364c8ed4a41e5654defb5c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nandana</media:title>
		</media:content>
	</item>
	</channel>
</rss>