You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2011/12/06 11:28:47 UTC

svn commit: r1210850 [2/3] - in /webservices/wss4j/site: ./ apidocs/org/apache/ws/security/spnego/ apidocs/org/apache/ws/security/spnego/class-use/ testapidocs/org/apache/ws/security/common/ testapidocs/org/apache/ws/security/common/class-use/ testapid...

Modified: webservices/wss4j/site/download.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/download.html?rev=1210850&r1=1210849&r2=1210850&view=diff
==============================================================================
--- webservices/wss4j/site/download.html (original)
+++ webservices/wss4j/site/download.html Tue Dec  6 10:28:46 2011
@@ -151,7 +151,7 @@
       <div id="contentBox">
         <div class="section"><h2><a name="Obtain_the_Apache_WSS4J_distribution"></a>Obtain the Apache WSS4J distribution</h2>
 <p> 
-The <b>Apache WSS4J?</b> project provides a Java implementation of the primary security 
+The <b>Apache WSS4J&#153;</b> project provides a Java implementation of the primary security 
 standards for Web Services.
 </p>
 <div class="section"><h3><a name="How_to_Download"></a>How to Download</h3>

Modified: webservices/wss4j/site/index.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/index.html?rev=1210850&r1=1210849&r2=1210850&view=diff
==============================================================================
--- webservices/wss4j/site/index.html (original)
+++ webservices/wss4j/site/index.html Tue Dec  6 10:28:46 2011
@@ -152,7 +152,7 @@
         <div class="section"><h2><a name="Apache_WSS4J_-_Web_Services_Security_for_Java"></a>Apache WSS4J - Web Services Security for Java</h2>
 <div class="section"><h3><a name="The_Project"></a>The Project</h3>
 <p> 
-The <b>Apache WSS4J?</b> project provides a Java implementation of the primary security 
+The <b>Apache WSS4J&#153;<b> project provides a Java implementation of the primary security 
 standards for Web Services, namely the OASIS Web Services Security (WS-Security) specifications from 
 the <a class="externalLink" href="http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wss">OASIS Web Services 
 Security TC</a>. WSS4J provides an implementation of the following WS-Security standards:

Added: webservices/wss4j/site/testapidocs/org/apache/ws/security/common/SAMLElementCallbackHandler.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/testapidocs/org/apache/ws/security/common/SAMLElementCallbackHandler.html?rev=1210850&view=auto
==============================================================================
--- webservices/wss4j/site/testapidocs/org/apache/ws/security/common/SAMLElementCallbackHandler.html (added)
+++ webservices/wss4j/site/testapidocs/org/apache/ws/security/common/SAMLElementCallbackHandler.html Tue Dec  6 10:28:46 2011
@@ -0,0 +1,311 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Dec 02 16:43:57 GMT 2011 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+SAMLElementCallbackHandler (WSS4J 1.6.4 Test API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.ws.security.common.SAMLElementCallbackHandler class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    parent.document.title="SAMLElementCallbackHandler (WSS4J 1.6.4 Test API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SAMLElementCallbackHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../../org/apache/ws/security/common/SAML2CallbackHandler.html" title="class in org.apache.ws.security.common"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../../org/apache/ws/security/common/SecretKeyCallbackHandler.html" title="class in org.apache.ws.security.common"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../../index.html?org/apache/ws/security/common/SAMLElementCallbackHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="SAMLElementCallbackHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.ws.security.common.AbstractSAMLCallbackHandler">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.ws.security.common.AbstractSAMLCallbackHandler">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.ws.security.common</FONT>
+<BR>
+Class SAMLElementCallbackHandler</H2>
+<PRE>
+java.lang.Object
+  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html" title="class in org.apache.ws.security.common">org.apache.ws.security.common.AbstractSAMLCallbackHandler</A>
+      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.ws.security.common.SAMLElementCallbackHandler</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD>javax.security.auth.callback.CallbackHandler</DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>SAMLElementCallbackHandler</B><DT>extends <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html" title="class in org.apache.ws.security.common">AbstractSAMLCallbackHandler</A></DL>
+</PRE>
+
+<P>
+A Callback Handler implementation for a SAML 1.1 assertion. Rather than create a set of beans
+ that AssertionWrapper will use to create a SAML Assertion, it sets a DOM Element directly on
+ the SAMLCallback object.
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+<A NAME="nested_class_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Nested Class Summary</B></FONT></TH>
+</TR>
+</TABLE>
+&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.ws.security.common.AbstractSAMLCallbackHandler"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.ws.security.common.<A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html" title="class in org.apache.ws.security.common">AbstractSAMLCallbackHandler</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.Statement.html" title="enum in org.apache.ws.security.common">AbstractSAMLCallbackHandler.Statement</A></CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+&nbsp;<A NAME="fields_inherited_from_class_org.apache.ws.security.common.AbstractSAMLCallbackHandler"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class org.apache.ws.security.common.<A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html" title="class in org.apache.ws.security.common">AbstractSAMLCallbackHandler</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#certIdentifier">certIdentifier</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#certs">certs</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#confirmationMethod">confirmationMethod</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#customAttributeValues">customAttributeValues</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#ephemeralKey">ephemeralKey</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#issuer">issuer</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#resource">resource</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#statement">statement</A>, <A HREF="../../../../../org/apach
 e/ws/security/common/AbstractSAMLCallbackHandler.html#subjectLocalityDnsAddress">subjectLocalityDnsAddress</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#subjectLocalityIpAddress">subjectLocalityIpAddress</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#subjectName">subjectName</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#subjectNameIDFormat">subjectNameIDFormat</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#subjectQualifier">subjectQualifier</A></CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../../org/apache/ws/security/common/SAMLElementCallbackHandler.html#SAMLElementCallbackHandler()">SAMLElementCallbackHandler</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/ws/security/common/SAMLElementCallbackHandler.html#handle(javax.security.auth.callback.Callback[])">handle</A></B>(javax.security.auth.callback.Callback[]&nbsp;callbacks)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_org.apache.ws.security.common.AbstractSAMLCallbackHandler"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class org.apache.ws.security.common.<A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html" title="class in org.apache.ws.security.common">AbstractSAMLCallbackHandler</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#createAndSetStatement(org.apache.ws.security.saml.ext.bean.SubjectBean, org.apache.ws.security.saml.ext.SAMLCallback)">createAndSetStatement</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#createKeyInfo()">createKeyInfo</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#getEphemeralKey()">getEphemeralKey</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setCertIdentifier(org.apache.ws.security.saml.ext.bean.KeyInfoBean.CERT_IDENTIFIER)">setCertIdentifier</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setCerts(java.security.cert.X509Certificate[])">setCerts</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setConfirmationMethod(java.lang.String)">setConfirmationMethod</A
 >, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setCustomAttributeValues(java.util.List)">setCustomAttributeValues</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setIssuer(java.lang.String)">setIssuer</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setResource(java.lang.String)">setResource</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setStatement(org.apache.ws.security.common.AbstractSAMLCallbackHandler.Statement)">setStatement</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setSubjectLocality(java.lang.String, java.lang.String)">setSubjectLocality</A>, <A HREF="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html#setSubjectNameIDFormat(java.lang.String)">setSubjectNameIDFormat</A></CODE></TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="SAMLElementCallbackHandler()"><!-- --></A><H3>
+SAMLElementCallbackHandler</H3>
+<PRE>
+public <B>SAMLElementCallbackHandler</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="handle(javax.security.auth.callback.Callback[])"><!-- --></A><H3>
+handle</H3>
+<PRE>
+public void <B>handle</B>(javax.security.auth.callback.Callback[]&nbsp;callbacks)
+            throws java.io.IOException,
+                   javax.security.auth.callback.UnsupportedCallbackException</PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE>
+<DD><CODE>javax.security.auth.callback.UnsupportedCallbackException</CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SAMLElementCallbackHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../../org/apache/ws/security/common/SAML2CallbackHandler.html" title="class in org.apache.ws.security.common"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../../org/apache/ws/security/common/SecretKeyCallbackHandler.html" title="class in org.apache.ws.security.common"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../../index.html?org/apache/ws/security/common/SAMLElementCallbackHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="SAMLElementCallbackHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.ws.security.common.AbstractSAMLCallbackHandler">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.ws.security.common.AbstractSAMLCallbackHandler">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2004-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+</BODY>
+</HTML>

Added: webservices/wss4j/site/testapidocs/org/apache/ws/security/common/class-use/SAMLElementCallbackHandler.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/testapidocs/org/apache/ws/security/common/class-use/SAMLElementCallbackHandler.html?rev=1210850&view=auto
==============================================================================
--- webservices/wss4j/site/testapidocs/org/apache/ws/security/common/class-use/SAMLElementCallbackHandler.html (added)
+++ webservices/wss4j/site/testapidocs/org/apache/ws/security/common/class-use/SAMLElementCallbackHandler.html Tue Dec  6 10:28:46 2011
@@ -0,0 +1,141 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Dec 02 16:43:57 GMT 2011 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+Uses of Class org.apache.ws.security.common.SAMLElementCallbackHandler (WSS4J 1.6.4 Test API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    parent.document.title="Uses of Class org.apache.ws.security.common.SAMLElementCallbackHandler (WSS4J 1.6.4 Test API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../org/apache/ws/security/common/SAMLElementCallbackHandler.html" title="class in org.apache.ws.security.common"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../../../index.html?org/apache/ws/security/common/class-use/SAMLElementCallbackHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="SAMLElementCallbackHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Class<br>org.apache.ws.security.common.SAMLElementCallbackHandler</B></H2>
+</CENTER>
+No usage of org.apache.ws.security.common.SAMLElementCallbackHandler
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../org/apache/ws/security/common/SAMLElementCallbackHandler.html" title="class in org.apache.ws.security.common"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../../../index.html?org/apache/ws/security/common/class-use/SAMLElementCallbackHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="SAMLElementCallbackHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2004-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+</BODY>
+</HTML>

Added: webservices/wss4j/site/testapidocs/org/apache/ws/security/message/EncryptionGCMTest.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/testapidocs/org/apache/ws/security/message/EncryptionGCMTest.html?rev=1210850&view=auto
==============================================================================
--- webservices/wss4j/site/testapidocs/org/apache/ws/security/message/EncryptionGCMTest.html (added)
+++ webservices/wss4j/site/testapidocs/org/apache/ws/security/message/EncryptionGCMTest.html Tue Dec  6 10:28:46 2011
@@ -0,0 +1,319 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Dec 02 16:43:57 GMT 2011 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+EncryptionGCMTest (WSS4J 1.6.4 Test API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.ws.security.message.EncryptionGCMTest class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    parent.document.title="EncryptionGCMTest (WSS4J 1.6.4 Test API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/EncryptionGCMTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../../org/apache/ws/security/message/DerivedKeyTest.html" title="class in org.apache.ws.security.message"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../../org/apache/ws/security/message/EncryptionPartsTest.html" title="class in org.apache.ws.security.message"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../../index.html?org/apache/ws/security/message/EncryptionGCMTest.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="EncryptionGCMTest.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.ws.security.message</FONT>
+<BR>
+Class EncryptionGCMTest</H2>
+<PRE>
+java.lang.Object
+  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">org.junit.Assert
+      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.ws.security.message.EncryptionGCMTest</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>EncryptionGCMTest</B><DT>extends org.junit.Assert</DL>
+</PRE>
+
+<P>
+A set of test-cases for encrypting and decrypting SOAP requests using GCM. See:
+ https://issues.apache.org/jira/browse/WSS-325
+<P>
+
+<P>
+<HR>
+
+<P>
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../../org/apache/ws/security/message/EncryptionGCMTest.html#EncryptionGCMTest()">EncryptionGCMTest</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/ws/security/message/EncryptionGCMTest.html#setUp()">setUp</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Setup method</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/ws/security/message/EncryptionGCMTest.html#testAES128GCM()">testAES128GCM</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/ws/security/message/EncryptionGCMTest.html#testAES256GCM()">testAES256GCM</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_org.junit.Assert"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class org.junit.Assert</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="EncryptionGCMTest()"><!-- --></A><H3>
+EncryptionGCMTest</H3>
+<PRE>
+public <B>EncryptionGCMTest</B>()
+                  throws java.lang.Exception</PRE>
+<DL>
+<DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="setUp()"><!-- --></A><H3>
+setUp</H3>
+<PRE>
+public void <B>setUp</B>()
+           throws java.lang.Exception</PRE>
+<DL>
+<DD>Setup method
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - Thrown when there is a problem in setup</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="testAES128GCM()"><!-- --></A><H3>
+testAES128GCM</H3>
+<PRE>
+public void <B>testAES128GCM</B>()
+                   throws java.lang.Exception</PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="testAES256GCM()"><!-- --></A><H3>
+testAES256GCM</H3>
+<PRE>
+public void <B>testAES256GCM</B>()
+                   throws java.lang.Exception</PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/EncryptionGCMTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../../org/apache/ws/security/message/DerivedKeyTest.html" title="class in org.apache.ws.security.message"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../../org/apache/ws/security/message/EncryptionPartsTest.html" title="class in org.apache.ws.security.message"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../../index.html?org/apache/ws/security/message/EncryptionGCMTest.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="EncryptionGCMTest.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2004-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+</BODY>
+</HTML>

Added: webservices/wss4j/site/testapidocs/org/apache/ws/security/message/class-use/EncryptionGCMTest.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/testapidocs/org/apache/ws/security/message/class-use/EncryptionGCMTest.html?rev=1210850&view=auto
==============================================================================
--- webservices/wss4j/site/testapidocs/org/apache/ws/security/message/class-use/EncryptionGCMTest.html (added)
+++ webservices/wss4j/site/testapidocs/org/apache/ws/security/message/class-use/EncryptionGCMTest.html Tue Dec  6 10:28:46 2011
@@ -0,0 +1,141 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_22) on Fri Dec 02 16:43:57 GMT 2011 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+Uses of Class org.apache.ws.security.message.EncryptionGCMTest (WSS4J 1.6.4 Test API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    parent.document.title="Uses of Class org.apache.ws.security.message.EncryptionGCMTest (WSS4J 1.6.4 Test API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../org/apache/ws/security/message/EncryptionGCMTest.html" title="class in org.apache.ws.security.message"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../../../index.html?org/apache/ws/security/message/class-use/EncryptionGCMTest.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="EncryptionGCMTest.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Class<br>org.apache.ws.security.message.EncryptionGCMTest</B></H2>
+</CENTER>
+No usage of org.apache.ws.security.message.EncryptionGCMTest
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../org/apache/ws/security/message/EncryptionGCMTest.html" title="class in org.apache.ws.security.message"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV&nbsp;
+&nbsp;NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../../../index.html?org/apache/ws/security/message/class-use/EncryptionGCMTest.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="EncryptionGCMTest.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2004-2011 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+</BODY>
+</HTML>

Added: webservices/wss4j/site/xref-test/org/apache/ws/security/common/SAMLElementCallbackHandler.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/common/SAMLElementCallbackHandler.html?rev=1210850&view=auto
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/common/SAMLElementCallbackHandler.html (added)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/common/SAMLElementCallbackHandler.html Tue Dec  6 10:28:46 2011
@@ -0,0 +1,95 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>SAMLElementCallbackHandler xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.ws.security.common;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> javax.security.auth.callback.Callback;
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> javax.security.auth.callback.UnsupportedCallbackException;
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> javax.xml.parsers.DocumentBuilderFactory;
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.saml.ext.AssertionWrapper;
+<a name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.saml.ext.SAMLCallback;
+<a name="30" href="#30">30</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.saml.ext.SAMLParms;
+<a name="31" href="#31">31</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.saml.ext.builder.SAML1Constants;
+<a name="32" href="#32">32</a>  <strong class="jxr_keyword">import</strong> org.w3c.dom.Element;
+<a name="33" href="#33">33</a>  
+<a name="34" href="#34">34</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="35" href="#35">35</a>  <em class="jxr_javadoccomment"> * A Callback Handler implementation for a SAML 1.1 assertion. Rather than create a set of beans</em>
+<a name="36" href="#36">36</a>  <em class="jxr_javadoccomment"> * that AssertionWrapper will use to create a SAML Assertion, it sets a DOM Element directly on</em>
+<a name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> * the SAMLCallback object.</em>
+<a name="38" href="#38">38</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="39" href="#39">39</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/ws/security/common/SAMLElementCallbackHandler.html">SAMLElementCallbackHandler</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/ws/security/common/AbstractSAMLCallbackHandler.html">AbstractSAMLCallbackHandler</a> {
+<a name="40" href="#40">40</a>      
+<a name="41" href="#41">41</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/ws/security/common/SAMLElementCallbackHandler.html">SAMLElementCallbackHandler</a>() {
+<a name="42" href="#42">42</a>          subjectName = <span class="jxr_string">"uid=joe,ou=people,ou=saml-demo,o=example.com"</span>;
+<a name="43" href="#43">43</a>          subjectQualifier = <span class="jxr_string">"www.example.com"</span>;
+<a name="44" href="#44">44</a>          confirmationMethod = SAML1Constants.CONF_SENDER_VOUCHES;
+<a name="45" href="#45">45</a>      }
+<a name="46" href="#46">46</a>      
+<a name="47" href="#47">47</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> handle(Callback[] callbacks)
+<a name="48" href="#48">48</a>          <strong class="jxr_keyword">throws</strong> IOException, UnsupportedCallbackException {
+<a name="49" href="#49">49</a>          <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; callbacks.length; i++) {
+<a name="50" href="#50">50</a>              <strong class="jxr_keyword">if</strong> (callbacks[i] instanceof SAMLCallback) {
+<a name="51" href="#51">51</a>                  SAMLCallback callback = (SAMLCallback) callbacks[i];
+<a name="52" href="#52">52</a>                  Element assertionElement;
+<a name="53" href="#53">53</a>                  <strong class="jxr_keyword">try</strong> {
+<a name="54" href="#54">54</a>                      assertionElement = getSAMLAssertion();
+<a name="55" href="#55">55</a>                  } <strong class="jxr_keyword">catch</strong> (Exception e) {
+<a name="56" href="#56">56</a>                      <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IOException(e.getMessage());
+<a name="57" href="#57">57</a>                  }
+<a name="58" href="#58">58</a>                  callback.setAssertionElement(assertionElement);
+<a name="59" href="#59">59</a>                  
+<a name="60" href="#60">60</a>              } <strong class="jxr_keyword">else</strong> {
+<a name="61" href="#61">61</a>                  <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> UnsupportedCallbackException(callbacks[i], <span class="jxr_string">"Unrecognized Callback"</span>);
+<a name="62" href="#62">62</a>              }
+<a name="63" href="#63">63</a>          }
+<a name="64" href="#64">64</a>      }
+<a name="65" href="#65">65</a>      
+<a name="66" href="#66">66</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="67" href="#67">67</a>  <em class="jxr_javadoccomment">     * Mock up a SAML Assertion by using another SAMLCallbackHandler</em>
+<a name="68" href="#68">68</a>  <em class="jxr_javadoccomment">     * @throws Exception </em>
+<a name="69" href="#69">69</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="70" href="#70">70</a>      <strong class="jxr_keyword">private</strong> Element getSAMLAssertion() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="71" href="#71">71</a>          SAMLParms parms = <strong class="jxr_keyword">new</strong> SAMLParms();
+<a name="72" href="#72">72</a>          SAML1CallbackHandler callbackHandler = <strong class="jxr_keyword">new</strong> SAML1CallbackHandler();
+<a name="73" href="#73">73</a>          callbackHandler.setIssuer(issuer);
+<a name="74" href="#74">74</a>          parms.setCallbackHandler(callbackHandler);
+<a name="75" href="#75">75</a>          AssertionWrapper assertionWrapper = <strong class="jxr_keyword">new</strong> AssertionWrapper(parms);
+<a name="76" href="#76">76</a>          
+<a name="77" href="#77">77</a>          DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+<a name="78" href="#78">78</a>          <strong class="jxr_keyword">return</strong> assertionWrapper.toDOM(factory.newDocumentBuilder().newDocument());
+<a name="79" href="#79">79</a>      }
+<a name="80" href="#80">80</a>      
+<a name="81" href="#81">81</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: webservices/wss4j/site/xref-test/org/apache/ws/security/message/EncryptionGCMTest.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/message/EncryptionGCMTest.html?rev=1210850&view=auto
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/message/EncryptionGCMTest.html (added)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/message/EncryptionGCMTest.html Tue Dec  6 10:28:46 2011
@@ -0,0 +1,186 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>EncryptionGCMTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.ws.security.message;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> javax.security.auth.callback.CallbackHandler;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.WSConstants;
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.WSDataRef;
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.WSSConfig;
+<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.WSSecurityEngine;
+<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.WSSecurityEngineResult;
+<a name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.common.KeystoreCallbackHandler;
+<a name="30" href="#30">30</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.common.SOAPUtil;
+<a name="31" href="#31">31</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.components.crypto.Crypto;
+<a name="32" href="#32">32</a>  <strong class="jxr_keyword">import</strong> org.apache.ws.security.components.crypto.CryptoFactory;
+<a name="33" href="#33">33</a>  <strong class="jxr_keyword">import</strong> org.w3c.dom.Document;
+<a name="34" href="#34">34</a>  
+<a name="35" href="#35">35</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="36" href="#36">36</a>  <em class="jxr_javadoccomment"> * A set of test-cases for encrypting and decrypting SOAP requests using GCM. See:</em>
+<a name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> * https://issues.apache.org/jira/browse/WSS-325</em>
+<a name="38" href="#38">38</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="39" href="#39">39</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/ws/security/message/EncryptionGCMTest.html">EncryptionGCMTest</a> <strong class="jxr_keyword">extends</strong> org.junit.Assert {
+<a name="40" href="#40">40</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> org.apache.commons.logging.Log LOG = 
+<a name="41" href="#41">41</a>          org.apache.commons.logging.LogFactory.getLog(EncryptionGCMTest.<strong class="jxr_keyword">class</strong>);
+<a name="42" href="#42">42</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> javax.xml.namespace.QName SOAP_BODY =
+<a name="43" href="#43">43</a>          <strong class="jxr_keyword">new</strong> javax.xml.namespace.QName(
+<a name="44" href="#44">44</a>              WSConstants.URI_SOAP11_ENV,
+<a name="45" href="#45">45</a>              <span class="jxr_string">"Body"</span>
+<a name="46" href="#46">46</a>          );
+<a name="47" href="#47">47</a>  
+<a name="48" href="#48">48</a>      <strong class="jxr_keyword">private</strong> WSSecurityEngine secEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
+<a name="49" href="#49">49</a>      <strong class="jxr_keyword">private</strong> CallbackHandler keystoreCallbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/common/KeystoreCallbackHandler.html">KeystoreCallbackHandler</a>();
+<a name="50" href="#50">50</a>      <strong class="jxr_keyword">private</strong> Crypto crypto = <strong class="jxr_keyword">null</strong>;
+<a name="51" href="#51">51</a>      
+<a name="52" href="#52">52</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/ws/security/message/EncryptionGCMTest.html">EncryptionGCMTest</a>() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="53" href="#53">53</a>          crypto = CryptoFactory.getInstance(<span class="jxr_string">"wss40.properties"</span>);
+<a name="54" href="#54">54</a>      }
+<a name="55" href="#55">55</a>      
+<a name="56" href="#56">56</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="57" href="#57">57</a>  <em class="jxr_javadoccomment">     * Setup method</em>
+<a name="58" href="#58">58</a>  <em class="jxr_javadoccomment">     * </em>
+<a name="59" href="#59">59</a>  <em class="jxr_javadoccomment">     * @throws java.lang.Exception Thrown when there is a problem in setup</em>
+<a name="60" href="#60">60</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="61" href="#61">61</a>      @org.junit.Before
+<a name="62" href="#62">62</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="63" href="#63">63</a>          WSSConfig wssConfig = WSSConfig.getNewInstance();
+<a name="64" href="#64">64</a>          wssConfig.setWsiBSPCompliant(<strong class="jxr_keyword">true</strong>);
+<a name="65" href="#65">65</a>          secEngine.setWssConfig(wssConfig);
+<a name="66" href="#66">66</a>      }
+<a name="67" href="#67">67</a>      
+<a name="68" href="#68">68</a>      @org.junit.Test
+<a name="69" href="#69">69</a>      @org.junit.Ignore
+<a name="70" href="#70">70</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAES128GCM() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="71" href="#71">71</a>          WSSecEncrypt builder = <strong class="jxr_keyword">new</strong> WSSecEncrypt();
+<a name="72" href="#72">72</a>          builder.setUserInfo(<span class="jxr_string">"wss40"</span>);
+<a name="73" href="#73">73</a>          builder.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
+<a name="74" href="#74">74</a>          builder.setSymmetricEncAlgorithm(WSConstants.AES_128_GCM);
+<a name="75" href="#75">75</a>          Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
+<a name="76" href="#76">76</a>          WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
+<a name="77" href="#77">77</a>          secHeader.insertSecurityHeader(doc);
+<a name="78" href="#78">78</a>          Document encryptedDoc = builder.build(doc, crypto, secHeader);
+<a name="79" href="#79">79</a>  
+<a name="80" href="#80">80</a>          String outputString = 
+<a name="81" href="#81">81</a>              org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(encryptedDoc);
+<a name="82" href="#82">82</a>          <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="83" href="#83">83</a>              LOG.debug(<span class="jxr_string">"Encrypted message:"</span>);
+<a name="84" href="#84">84</a>              LOG.debug(outputString);
+<a name="85" href="#85">85</a>          }
+<a name="86" href="#86">86</a>          assertTrue(outputString.indexOf(<span class="jxr_string">"counter_port_type"</span>) == -1 ? <strong class="jxr_keyword">true</strong> : false);
+<a name="87" href="#87">87</a>          verify(encryptedDoc, keystoreCallbackHandler, SOAP_BODY);
+<a name="88" href="#88">88</a>      }
+<a name="89" href="#89">89</a>      
+<a name="90" href="#90">90</a>      @org.junit.Test
+<a name="91" href="#91">91</a>      @org.junit.Ignore
+<a name="92" href="#92">92</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAES256GCM() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="93" href="#93">93</a>          WSSecEncrypt builder = <strong class="jxr_keyword">new</strong> WSSecEncrypt();
+<a name="94" href="#94">94</a>          builder.setUserInfo(<span class="jxr_string">"wss40"</span>);
+<a name="95" href="#95">95</a>          builder.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
+<a name="96" href="#96">96</a>          builder.setSymmetricEncAlgorithm(WSConstants.AES_256_GCM);
+<a name="97" href="#97">97</a>          Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
+<a name="98" href="#98">98</a>          WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
+<a name="99" href="#99">99</a>          secHeader.insertSecurityHeader(doc);
+<a name="100" href="#100">100</a>         Document encryptedDoc = builder.build(doc, crypto, secHeader);
+<a name="101" href="#101">101</a> 
+<a name="102" href="#102">102</a>         String outputString = 
+<a name="103" href="#103">103</a>             org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(encryptedDoc);
+<a name="104" href="#104">104</a>         <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="105" href="#105">105</a>             LOG.debug(<span class="jxr_string">"Encrypted message:"</span>);
+<a name="106" href="#106">106</a>             LOG.debug(outputString);
+<a name="107" href="#107">107</a>         }
+<a name="108" href="#108">108</a>         assertTrue(outputString.indexOf(<span class="jxr_string">"counter_port_type"</span>) == -1 ? <strong class="jxr_keyword">true</strong> : false);
+<a name="109" href="#109">109</a>         verify(encryptedDoc, keystoreCallbackHandler, SOAP_BODY);
+<a name="110" href="#110">110</a>     }
+<a name="111" href="#111">111</a> 
+<a name="112" href="#112">112</a>     <em class="jxr_javadoccomment">/**</em>
+<a name="113" href="#113">113</a> <em class="jxr_javadoccomment">     * Verifies the soap envelope</em>
+<a name="114" href="#114">114</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a name="115" href="#115">115</a> <em class="jxr_javadoccomment">     * </em>
+<a name="116" href="#116">116</a> <em class="jxr_javadoccomment">     * @param envelope </em>
+<a name="117" href="#117">117</a> <em class="jxr_javadoccomment">     * @throws Exception Thrown when there is a problem in verification</em>
+<a name="118" href="#118">118</a> <em class="jxr_javadoccomment">     */</em>
+<a name="119" href="#119">119</a>     @SuppressWarnings(<span class="jxr_string">"unchecked"</span>)
+<a name="120" href="#120">120</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> verify(
+<a name="121" href="#121">121</a>         Document doc,
+<a name="122" href="#122">122</a>         CallbackHandler handler,
+<a name="123" href="#123">123</a>         javax.xml.namespace.QName expectedEncryptedElement
+<a name="124" href="#124">124</a>     ) <strong class="jxr_keyword">throws</strong> Exception {
+<a name="125" href="#125">125</a>         <strong class="jxr_keyword">final</strong> java.util.List&lt;WSSecurityEngineResult&gt; results = 
+<a name="126" href="#126">126</a>             secEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, handler, <strong class="jxr_keyword">null</strong>, crypto);
+<a name="127" href="#127">127</a>         String outputString = 
+<a name="128" href="#128">128</a>             org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(doc);
+<a name="129" href="#129">129</a>         <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="130" href="#130">130</a>             LOG.debug(outputString);
+<a name="131" href="#131">131</a>         }
+<a name="132" href="#132">132</a>         assertTrue(outputString.indexOf(<span class="jxr_string">"counter_port_type"</span>) &gt; 0 ? <strong class="jxr_keyword">true</strong> : false);
+<a name="133" href="#133">133</a>         <em class="jxr_comment">//</em>
+<a name="134" href="#134">134</a>         <em class="jxr_comment">// walk through the results, and make sure there is an encryption</em>
+<a name="135" href="#135">135</a>         <em class="jxr_comment">// action, together with a reference to the decrypted element </em>
+<a name="136" href="#136">136</a>         <em class="jxr_comment">// (as a QName)</em>
+<a name="137" href="#137">137</a>         <em class="jxr_comment">//</em>
+<a name="138" href="#138">138</a>         <strong class="jxr_keyword">boolean</strong> encrypted = false;
+<a name="139" href="#139">139</a>         <strong class="jxr_keyword">for</strong> (java.util.Iterator&lt;WSSecurityEngineResult&gt; ipos = results.iterator(); 
+<a name="140" href="#140">140</a>             ipos.hasNext();) {
+<a name="141" href="#141">141</a>             <strong class="jxr_keyword">final</strong> WSSecurityEngineResult result = ipos.next();
+<a name="142" href="#142">142</a>             <strong class="jxr_keyword">final</strong> Integer action = (Integer) result.get(WSSecurityEngineResult.TAG_ACTION);
+<a name="143" href="#143">143</a>             assertNotNull(action);
+<a name="144" href="#144">144</a>             <strong class="jxr_keyword">if</strong> ((action.intValue() &amp; WSConstants.ENCR) != 0) {
+<a name="145" href="#145">145</a>                 <strong class="jxr_keyword">final</strong> java.util.List&lt;WSDataRef&gt; refs =
+<a name="146" href="#146">146</a>                     (java.util.List&lt;WSDataRef&gt;) result.get(WSSecurityEngineResult.TAG_DATA_REF_URIS);
+<a name="147" href="#147">147</a>                 assertNotNull(refs);
+<a name="148" href="#148">148</a>                 encrypted = <strong class="jxr_keyword">true</strong>;
+<a name="149" href="#149">149</a>                 <strong class="jxr_keyword">for</strong> (java.util.Iterator&lt;WSDataRef&gt; jpos = refs.iterator(); jpos.hasNext();) {
+<a name="150" href="#150">150</a>                     <strong class="jxr_keyword">final</strong> WSDataRef ref = jpos.next();
+<a name="151" href="#151">151</a>                     assertNotNull(ref);
+<a name="152" href="#152">152</a>                     assertNotNull(ref.getName());
+<a name="153" href="#153">153</a>                     assertEquals(
+<a name="154" href="#154">154</a>                         expectedEncryptedElement,
+<a name="155" href="#155">155</a>                         ref.getName()
+<a name="156" href="#156">156</a>                     );
+<a name="157" href="#157">157</a>                     assertNotNull(ref.getProtectedElement());
+<a name="158" href="#158">158</a>                     <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="159" href="#159">159</a>                         LOG.debug(<span class="jxr_string">"WSDataRef element: "</span>);
+<a name="160" href="#160">160</a>                         LOG.debug(
+<a name="161" href="#161">161</a>                             org.apache.ws.security.util.DOM2Writer.nodeToString(
+<a name="162" href="#162">162</a>                                 ref.getProtectedElement()
+<a name="163" href="#163">163</a>                             )
+<a name="164" href="#164">164</a>                         );
+<a name="165" href="#165">165</a>                     }
+<a name="166" href="#166">166</a>                 }
+<a name="167" href="#167">167</a>             }
+<a name="168" href="#168">168</a>         }
+<a name="169" href="#169">169</a>         assertTrue(encrypted);
+<a name="170" href="#170">170</a>     }
+<a name="171" href="#171">171</a> 
+<a name="172" href="#172">172</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: webservices/wss4j/site/xref/org/apache/ws/security/spnego/SpnegoClientAction.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/spnego/SpnegoClientAction.html?rev=1210850&view=auto
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/spnego/SpnegoClientAction.html (added)
+++ webservices/wss4j/site/xref/org/apache/ws/security/spnego/SpnegoClientAction.html Tue Dec  6 10:28:46 2011
@@ -0,0 +1,95 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>SpnegoClientAction xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/ws/security/spnego/SpnegoClientAction.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="2" href="#2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="3" href="#3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em>
+<a name="4" href="#4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information</em>
+<a name="5" href="#5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="7" href="#7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em>
+<a name="8" href="#8">8</a>   <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em>
+<a name="9" href="#9">9</a>   <em class="jxr_javadoccomment"> *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="11" href="#11">11</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="13" href="#13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an</em>
+<a name="14" href="#14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="15" href="#15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the</em>
+<a name="16" href="#16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations</em>
+<a name="17" href="#17">17</a>  <em class="jxr_javadoccomment"> * under the License.</em>
+<a name="18" href="#18">18</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.ws.security.spnego;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.security.PrivilegedAction;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> org.ietf.jgss.GSSContext;
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.ietf.jgss.GSSException;
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> org.ietf.jgss.GSSManager;
+<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.ietf.jgss.GSSName;
+<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.ietf.jgss.Oid;
+<a name="29" href="#29">29</a>  
+<a name="30" href="#30">30</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="31" href="#31">31</a>  <em class="jxr_javadoccomment"> * This class represents a PrivilegedAction implementation to obtain a (SPNEGO) service ticket from a </em>
+<a name="32" href="#32">32</a>  <em class="jxr_javadoccomment"> * Kerberos Key Distribution Center.</em>
+<a name="33" href="#33">33</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="34" href="#34">34</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/ws/security/spnego/SpnegoClientAction.html">SpnegoClientAction</a> implements PrivilegedAction&lt;byte[]&gt; {
+<a name="35" href="#35">35</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> org.apache.commons.logging.Log log =
+<a name="36" href="#36">36</a>          org.apache.commons.logging.LogFactory.getLog(SpnegoClientAction.<strong class="jxr_keyword">class</strong>);
+<a name="37" href="#37">37</a>      
+<a name="38" href="#38">38</a>      <strong class="jxr_keyword">private</strong> String serviceName;
+<a name="39" href="#39">39</a>      <strong class="jxr_keyword">private</strong> GSSContext secContext;
+<a name="40" href="#40">40</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> mutualAuth;
+<a name="41" href="#41">41</a>      
+<a name="42" href="#42">42</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/ws/security/spnego/SpnegoClientAction.html">SpnegoClientAction</a>(String serviceName) {
+<a name="43" href="#43">43</a>          <strong class="jxr_keyword">this</strong>.serviceName = serviceName;
+<a name="44" href="#44">44</a>      }
+<a name="45" href="#45">45</a>      
+<a name="46" href="#46">46</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="47" href="#47">47</a>  <em class="jxr_javadoccomment">     * Whether to enable mutual authentication or not.</em>
+<a name="48" href="#48">48</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="49" href="#49">49</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setMutualAuth(<strong class="jxr_keyword">boolean</strong> mutualAuthentication) {
+<a name="50" href="#50">50</a>          mutualAuth = mutualAuthentication;
+<a name="51" href="#51">51</a>      }
+<a name="52" href="#52">52</a>      
+<a name="53" href="#53">53</a>      <strong class="jxr_keyword">public</strong> byte[] run() {
+<a name="54" href="#54">54</a>          <strong class="jxr_keyword">try</strong> {
+<a name="55" href="#55">55</a>              <strong class="jxr_keyword">if</strong> (secContext == <strong class="jxr_keyword">null</strong>) {
+<a name="56" href="#56">56</a>                  GSSManager gssManager = GSSManager.getInstance();
+<a name="57" href="#57">57</a>                  Oid oid = <strong class="jxr_keyword">new</strong> Oid(<span class="jxr_string">"1.3.6.1.5.5.2"</span>);
+<a name="58" href="#58">58</a>                  
+<a name="59" href="#59">59</a>                  GSSName gssService = gssManager.createName(serviceName, GSSName.NT_HOSTBASED_SERVICE);
+<a name="60" href="#60">60</a>                  secContext = gssManager.createContext(gssService, oid, <strong class="jxr_keyword">null</strong>, GSSContext.DEFAULT_LIFETIME);
+<a name="61" href="#61">61</a>                  
+<a name="62" href="#62">62</a>                  secContext.requestMutualAuth(mutualAuth);
+<a name="63" href="#63">63</a>                  secContext.requestCredDeleg(Boolean.FALSE);
+<a name="64" href="#64">64</a>              }
+<a name="65" href="#65">65</a>          
+<a name="66" href="#66">66</a>              byte[] token = <strong class="jxr_keyword">new</strong> byte[0];
+<a name="67" href="#67">67</a>              <strong class="jxr_keyword">return</strong> secContext.initSecContext(token, 0, token.length);
+<a name="68" href="#68">68</a>          } <strong class="jxr_keyword">catch</strong> (GSSException e) {
+<a name="69" href="#69">69</a>              <strong class="jxr_keyword">if</strong> (log.isDebugEnabled()) {
+<a name="70" href="#70">70</a>                  log.debug(<span class="jxr_string">"Error in obtaining a Kerberos token"</span>, e);
+<a name="71" href="#71">71</a>              }
+<a name="72" href="#72">72</a>          }
+<a name="73" href="#73">73</a>  
+<a name="74" href="#74">74</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a name="75" href="#75">75</a>      }
+<a name="76" href="#76">76</a>      
+<a name="77" href="#77">77</a>      <strong class="jxr_keyword">public</strong> GSSContext getContext() {
+<a name="78" href="#78">78</a>          <strong class="jxr_keyword">return</strong> secContext;
+<a name="79" href="#79">79</a>      }
+<a name="80" href="#80">80</a>      
+<a name="81" href="#81">81</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+