ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1658432 [2/3] - in /webservices/website/wss4j: apidocs/org/apache/wss4j/common/saml/bean/ apidocs/org/apache/wss4j/common/saml/bean/class-use/ apidocs/org/apache/wss4j/common/util/ apidocs/org/apache/wss4j/common/util/class-use/ testapidoc...
Date Mon, 09 Feb 2015 15:16:01 GMT
Added: webservices/website/wss4j/testapidocs/org/apache/wss4j/stax/test/saml/SamlAuthnTest.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/testapidocs/org/apache/wss4j/stax/test/saml/SamlAuthnTest.html?rev=1658432&view=auto
==============================================================================
--- webservices/website/wss4j/testapidocs/org/apache/wss4j/stax/test/saml/SamlAuthnTest.html (added)
+++ webservices/website/wss4j/testapidocs/org/apache/wss4j/stax/test/saml/SamlAuthnTest.html Mon Feb  9 15:16:00 2015
@@ -0,0 +1,444 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_71) on Mon Feb 09 13:30:44 GMT 2015 -->
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>SamlAuthnTest (Apache WSS4J 2.0.4-SNAPSHOT Test API)</title>
+<meta name="date" content="2015-02-09">
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="SamlAuthnTest (Apache WSS4J 2.0.4-SNAPSHOT Test API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/SamlAuthnTest.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../../org/apache/wss4j/stax/test/saml/SAML2CallbackHandler.html" title="class in org.apache.wss4j.stax.test.saml"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../../org/apache/wss4j/stax/test/saml/SAMLCallbackHandlerImpl.html" title="class in org.apache.wss4j.stax.test.saml"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../index.html?org/apache/wss4j/stax/test/saml/SamlAuthnTest.html" target="_top">Frames</a></li>
+<li><a href="SamlAuthnTest.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_classes_inherited_from_class_org.apache.wss4j.stax.test.AbstractTestBase">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#fields_inherited_from_class_org.apache.wss4j.stax.test.AbstractTestBase">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.wss4j.stax.test.saml</div>
+<h2 title="Class SamlAuthnTest" class="title">Class SamlAuthnTest</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.junit.Assert</li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html" title="class in org.apache.wss4j.stax.test">org.apache.wss4j.stax.test.AbstractTestBase</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.wss4j.stax.test.saml.SamlAuthnTest</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">SamlAuthnTest</span>
+extends <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html" title="class in org.apache.wss4j.stax.test">AbstractTestBase</a></pre>
+<div class="block">Some tests for SAML Authentication Assertions</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested_classes_inherited_from_class_org.apache.wss4j.stax.test.AbstractTestBase">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from class&nbsp;org.apache.wss4j.stax.test.<a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html" title="class in org.apache.wss4j.stax.test">AbstractTestBase</a></h3>
+<code><a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.TestSecurityEventListener.html" title="class in org.apache.wss4j.stax.test">AbstractTestBase.TestSecurityEventListener</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_org.apache.wss4j.stax.test.AbstractTestBase">
+<!--   -->
+</a>
+<h3>Fields inherited from class&nbsp;org.apache.wss4j.stax.test.<a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html" title="class in org.apache.wss4j.stax.test">AbstractTestBase</a></h3>
+<code><a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#documentBuilderFactory">documentBuilderFactory</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#SECURED_DOCUMENT">SECURED_DOCUMENT</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#TRANSFORMER_FACTORY">TRANSFORMER_FACTORY</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#xmlInputFactory">xmlInputFactory</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#SamlAuthnTest()">SamlAuthnTest</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML1AuthnAssertion()">testSAML1AuthnAssertion</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML1FutureAuthnInstant()">testSAML1FutureAuthnInstant</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML1InvalidSubjectLocality()">testSAML1InvalidSubjectLocality</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML1ValidSubjectLocality()">testSAML1ValidSubjectLocality</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML2AuthnAssertion()">testSAML2AuthnAssertion</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML2FutureAuthnInstant()">testSAML2FutureAuthnInstant</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML2InvalidSubjectLocality()">testSAML2InvalidSubjectLocality</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML2StaleSessionNotOnOrAfter()">testSAML2StaleSessionNotOnOrAfter</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html#testSAML2ValidSubjectLocality()">testSAML2ValidSubjectLocality</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_org.apache.wss4j.stax.test.AbstractTestBase">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;org.apache.wss4j.stax.test.<a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html" title="class in org.apache.wss4j.stax.test">AbstractTestBase</a></h3>
+<code><a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#changeValueOfMaximumAllowedDecompressedBytes(java.lang.Long)">changeValueOfMaximumAllowedDecompressedBytes</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#changeValueOfMaximumAllowedReferencesPerManifest(java.lang.Integer)">changeValueOfMaximumAllowedReferencesPerManifest</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#changeValueOfMaximumAllowedTransformsPerReference(java.lang.Integer)">changeValueOfMaximumAllowedTransformsPerReference</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#changeValueOfMaximumAllowedXMLStructureDepth(java.lang.Integer)">changeValueOfMaximumAllowedXMLStructureDepth</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#cleanup()">cleanup</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurity(org.apache.wss4j.s
 tax.ext.WSSSecurityProperties,%20java.io.InputStream)">doInboundSecurity</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurity(org.apache.wss4j.stax.ext.WSSSecurityProperties,%20java.io.InputStream,%20java.util.List,%20org.apache.xml.security.stax.securityEvent.SecurityEventListener)">doInboundSecurity</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurity(org.apache.wss4j.stax.ext.WSSSecurityProperties,%20java.io.InputStream,%20org.apache.xml.security.stax.securityEvent.SecurityEventListener)">doInboundSecurity</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurity(org.apache.wss4j.stax.ext.WSSSecurityProperties,%20javax.xml.stream.XMLStreamReader)">doInboundSecurity</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurity(org.apache.wss4j.stax.ext.WSSSecurityProperties,%20javax.xml.stream.XMLStreamReader,%20j
 ava.util.List,%20org.apache.xml.security.stax.securityEvent.SecurityEventListener)">doInboundSecurity</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurity(org.apache.wss4j.stax.ext.WSSSecurityProperties,%20javax.xml.stream.XMLStreamReader,%20org.apache.xml.security.stax.securityEvent.SecurityEventListener)">doInboundSecurity</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurityWithWSS4J_1(org.w3c.dom.Document,%20java.lang.String)">doInboundSecurityWithWSS4J_1</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurityWithWSS4J_1(org.w3c.dom.Document,%20java.lang.String,%20java.util.Properties,%20boolean)">doInboundSecurityWithWSS4J_1</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doInboundSecurityWithWSS4J(org.w3c.dom.Document,%20java.lang.String)">doInboundSecurityWithWSS4J</a>, <a href="../../../../../../org/apache/wss4
 j/stax/test/AbstractTestBase.html#doOutboundSecurity(java.util.Map,%20java.io.InputStream)">doOutboundSecurity</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doOutboundSecurity(org.apache.wss4j.stax.ext.WSSSecurityProperties,%20java.io.InputStream)">doOutboundSecurity</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doOutboundSecurityWithWSS4J_1(java.io.InputStream,%20java.lang.String,%20java.util.Properties)">doOutboundSecurityWithWSS4J_1</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#doOutboundSecurityWithWSS4J(java.io.InputStream,%20java.lang.String,%20java.util.Properties)">doOutboundSecurityWithWSS4J</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#getJavaSpecificationVersion()">getJavaSpecificationVersion</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#getMessageContext(java.io.InputStream)">getMessageContext</a>, 
 <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#getXPath(java.lang.String)">getXPath</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#switchAllowMD5Algorithm(java.lang.Boolean)">switchAllowMD5Algorithm</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#switchAllowNotSameDocumentReferences(java.lang.Boolean)">switchAllowNotSameDocumentReferences</a>, <a href="../../../../../../org/apache/wss4j/stax/test/AbstractTestBase.html#switchDoNotThrowExceptionForManifests(java.lang.Boolean)">switchDoNotThrowExceptionForManifests</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_org.junit.Assert">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;org.junit.Assert</h3>
+<code>assertArrayEquals, assertArrayEquals, 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, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang
 /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="SamlAuthnTest()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>SamlAuthnTest</h4>
+<pre>public&nbsp;SamlAuthnTest()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="testSAML1AuthnAssertion()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSAML1AuthnAssertion</h4>
+<pre>public&nbsp;void&nbsp;testSAML1AuthnAssertion()
+                             throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+<a name="testSAML2AuthnAssertion()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSAML2AuthnAssertion</h4>
+<pre>public&nbsp;void&nbsp;testSAML2AuthnAssertion()
+                             throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+<a name="testSAML1FutureAuthnInstant()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSAML1FutureAuthnInstant</h4>
+<pre>public&nbsp;void&nbsp;testSAML1FutureAuthnInstant()
+                                 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+<a name="testSAML2FutureAuthnInstant()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSAML2FutureAuthnInstant</h4>
+<pre>public&nbsp;void&nbsp;testSAML2FutureAuthnInstant()
+                                 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+<a name="testSAML2StaleSessionNotOnOrAfter()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSAML2StaleSessionNotOnOrAfter</h4>
+<pre>public&nbsp;void&nbsp;testSAML2StaleSessionNotOnOrAfter()
+                                       throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+<a name="testSAML1ValidSubjectLocality()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSAML1ValidSubjectLocality</h4>
+<pre>public&nbsp;void&nbsp;testSAML1ValidSubjectLocality()
+                                   throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+<a name="testSAML2ValidSubjectLocality()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSAML2ValidSubjectLocality</h4>
+<pre>public&nbsp;void&nbsp;testSAML2ValidSubjectLocality()
+                                   throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+<a name="testSAML1InvalidSubjectLocality()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testSAML1InvalidSubjectLocality</h4>
+<pre>public&nbsp;void&nbsp;testSAML1InvalidSubjectLocality()
+                                     throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+<a name="testSAML2InvalidSubjectLocality()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>testSAML2InvalidSubjectLocality</h4>
+<pre>public&nbsp;void&nbsp;testSAML2InvalidSubjectLocality()
+                                     throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/SamlAuthnTest.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../../org/apache/wss4j/stax/test/saml/SAML2CallbackHandler.html" title="class in org.apache.wss4j.stax.test.saml"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../../org/apache/wss4j/stax/test/saml/SAMLCallbackHandlerImpl.html" title="class in org.apache.wss4j.stax.test.saml"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../index.html?org/apache/wss4j/stax/test/saml/SamlAuthnTest.html" target="_top">Frames</a></li>
+<li><a href="SamlAuthnTest.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_classes_inherited_from_class_org.apache.wss4j.stax.test.AbstractTestBase">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#fields_inherited_from_class_org.apache.wss4j.stax.test.AbstractTestBase">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>

Added: webservices/website/wss4j/testapidocs/org/apache/wss4j/stax/test/saml/class-use/SamlAuthnTest.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/testapidocs/org/apache/wss4j/stax/test/saml/class-use/SamlAuthnTest.html?rev=1658432&view=auto
==============================================================================
--- webservices/website/wss4j/testapidocs/org/apache/wss4j/stax/test/saml/class-use/SamlAuthnTest.html (added)
+++ webservices/website/wss4j/testapidocs/org/apache/wss4j/stax/test/saml/class-use/SamlAuthnTest.html Mon Feb  9 15:16:00 2015
@@ -0,0 +1,117 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_71) on Mon Feb 09 13:30:45 GMT 2015 -->
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>Uses of Class org.apache.wss4j.stax.test.saml.SamlAuthnTest (Apache WSS4J 2.0.4-SNAPSHOT Test API)</title>
+<meta name="date" content="2015-02-09">
+<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class org.apache.wss4j.stax.test.saml.SamlAuthnTest (Apache WSS4J 2.0.4-SNAPSHOT Test API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html" title="class in org.apache.wss4j.stax.test.saml">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../../index.html?org/apache/wss4j/stax/test/saml/class-use/SamlAuthnTest.html" target="_top">Frames</a></li>
+<li><a href="SamlAuthnTest.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.wss4j.stax.test.saml.SamlAuthnTest" class="title">Uses of Class<br>org.apache.wss4j.stax.test.saml.SamlAuthnTest</h2>
+</div>
+<div class="classUseContainer">No usage of org.apache.wss4j.stax.test.saml.SamlAuthnTest</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../../org/apache/wss4j/stax/test/saml/SamlAuthnTest.html" title="class in org.apache.wss4j.stax.test.saml">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../../index.html?org/apache/wss4j/stax/test/saml/class-use/SamlAuthnTest.html" target="_top">Frames</a></li>
+<li><a href="SamlAuthnTest.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>

Added: webservices/website/wss4j/xref-test/org/apache/wss4j/dom/saml/SamlAuthnTest.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref-test/org/apache/wss4j/dom/saml/SamlAuthnTest.html?rev=1658432&view=auto
==============================================================================
--- webservices/website/wss4j/xref-test/org/apache/wss4j/dom/saml/SamlAuthnTest.html (added)
+++ webservices/website/wss4j/xref-test/org/apache/wss4j/dom/saml/SamlAuthnTest.html Mon Feb  9 15:16:00 2015
@@ -0,0 +1,221 @@
+<!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=UTF-8" />
+<title>SamlAuthnTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/wss4j/dom/saml/SamlAuthnTest.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_javadoccomment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_javadoccomment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <em class="jxr_javadoccomment"> * under the License.</em>
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">package</strong> org.apache.wss4j.dom.saml;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> javax.security.auth.callback.CallbackHandler;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.common.ext.WSSecurityException;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.common.saml.SAMLCallback;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.common.saml.SAMLUtil;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.common.saml.SamlAssertionWrapper;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.common.util.XMLUtils;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.WSSConfig;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.WSSecurityEngine;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.WSSecurityEngineResult;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.common.CustomSamlAssertionValidator;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.common.SAML1CallbackHandler;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.common.SAML2CallbackHandler;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.common.SOAPUtil;
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.common.SecurityTestUtil;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.message.WSSecHeader;
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  <strong class="jxr_keyword">import</strong> org.apache.wss4j.dom.message.WSSecSAMLToken;
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <strong class="jxr_keyword">import</strong> org.joda.time.DateTime;
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <strong class="jxr_keyword">import</strong> org.w3c.dom.Document;
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>  <em class="jxr_javadoccomment"> * Some tests for SAML Authentication Assertions</em>
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/wss4j/dom/saml/SamlAuthnTest.html">SamlAuthnTest</a> <strong class="jxr_keyword">extends</strong> org.junit.Assert {
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> org.slf4j.Logger LOG = 
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>          org.slf4j.LoggerFactory.getLogger(SamlAuthnTest.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>      <strong class="jxr_keyword">private</strong> WSSecurityEngine secEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>      @org.junit.AfterClass
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> cleanup() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>          SecurityTestUtil.cleanup();
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>      }
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>  
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/wss4j/dom/saml/SamlAuthnTest.html">SamlAuthnTest</a>() {
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>          WSSConfig config = WSSConfig.getNewInstance();
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>          config.setValidator(WSSecurityEngine.SAML_TOKEN, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/CustomSamlAssertionValidator.html">CustomSamlAssertionValidator</a>());
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          config.setValidator(WSSecurityEngine.SAML2_TOKEN, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/CustomSamlAssertionValidator.html">CustomSamlAssertionValidator</a>());
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>          config.setValidateSamlSubjectConfirmation(false);
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>          secEngine.setWssConfig(config);
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>      }
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>      @org.junit.Test
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML1AuthnAssertion() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>          <a href="../../../../../org/apache/wss4j/dom/common/SAML1CallbackHandler.html">SAML1CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML1CallbackHandler.html">SAML1CallbackHandler</a>();
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>          callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          createAndVerifyMessage(callbackHandler, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>      }
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>      
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>      @org.junit.Test
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML2AuthnAssertion() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>          <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a>();
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>          callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>          callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>          
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>          createAndVerifyMessage(callbackHandler, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>      }
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>      
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>      @org.junit.Test
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML1FutureAuthnInstant() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>          <a href="../../../../../org/apache/wss4j/dom/common/SAML1CallbackHandler.html">SAML1CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML1CallbackHandler.html">SAML1CallbackHandler</a>();
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>          callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>          
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          callbackHandler.setAuthenticationInstant(<strong class="jxr_keyword">new</strong> DateTime().plusMinutes(70));
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>          
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>          createAndVerifyMessage(callbackHandler, false);
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>      }
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>      
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>      @org.junit.Test
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML2FutureAuthnInstant() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a>();
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>          callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>          
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>         callbackHandler.setAuthenticationInstant(<strong class="jxr_keyword">new</strong> DateTime().plusMinutes(70));
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>         
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>         createAndVerifyMessage(callbackHandler, false);
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>     }
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>     
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>     @org.junit.Test
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML2StaleSessionNotOnOrAfter() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>         <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a>();
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>         callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L109" href="#L109">109</a>         callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>         
+<a class="jxr_linenumber" name="L111" href="#L111">111</a>         callbackHandler.setSessionNotOnOrAfter(<strong class="jxr_keyword">new</strong> DateTime().minusMinutes(70));
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>         
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>         createAndVerifyMessage(callbackHandler, false);
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>     }
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>     
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>     @org.junit.Test
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML1ValidSubjectLocality() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>         <a href="../../../../../org/apache/wss4j/dom/common/SAML1CallbackHandler.html">SAML1CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML1CallbackHandler.html">SAML1CallbackHandler</a>();
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>         callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>         callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>         
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>         callbackHandler.setSubjectLocality(<span class="jxr_string">"127.0.0.1"</span>, <span class="jxr_string">"xyz.ws.apache.org"</span>);
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>         
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>         createAndVerifyMessage(callbackHandler, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>     }
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>     
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>     @org.junit.Test
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML2ValidSubjectLocality() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L129" href="#L129">129</a>         <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a>();
+<a class="jxr_linenumber" name="L130" href="#L130">130</a>         callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L131" href="#L131">131</a>         callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L132" href="#L132">132</a>         
+<a class="jxr_linenumber" name="L133" href="#L133">133</a>         callbackHandler.setSubjectLocality(<span class="jxr_string">"127.0.0.1"</span>, <span class="jxr_string">"xyz.ws.apache.org"</span>);
+<a class="jxr_linenumber" name="L134" href="#L134">134</a>         
+<a class="jxr_linenumber" name="L135" href="#L135">135</a>         createAndVerifyMessage(callbackHandler, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L136" href="#L136">136</a>     }
+<a class="jxr_linenumber" name="L137" href="#L137">137</a>     
+<a class="jxr_linenumber" name="L138" href="#L138">138</a>     @org.junit.Test
+<a class="jxr_linenumber" name="L139" href="#L139">139</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML1InvalidSubjectLocality() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L140" href="#L140">140</a>         <a href="../../../../../org/apache/wss4j/dom/common/SAML1CallbackHandler.html">SAML1CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML1CallbackHandler.html">SAML1CallbackHandler</a>();
+<a class="jxr_linenumber" name="L141" href="#L141">141</a>         callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L142" href="#L142">142</a>         callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L143" href="#L143">143</a>         
+<a class="jxr_linenumber" name="L144" href="#L144">144</a>         callbackHandler.setSubjectLocality(<span class="jxr_string">"xyz.ws.apache.org"</span>, <span class="jxr_string">"xyz.ws.apache.org"</span>);
+<a class="jxr_linenumber" name="L145" href="#L145">145</a>         
+<a class="jxr_linenumber" name="L146" href="#L146">146</a>         createAndVerifyMessage(callbackHandler, false);
+<a class="jxr_linenumber" name="L147" href="#L147">147</a>     }
+<a class="jxr_linenumber" name="L148" href="#L148">148</a>     
+<a class="jxr_linenumber" name="L149" href="#L149">149</a>     @org.junit.Test
+<a class="jxr_linenumber" name="L150" href="#L150">150</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSAML2InalidSubjectLocality() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L151" href="#L151">151</a>         <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a> callbackHandler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/wss4j/dom/common/SAML2CallbackHandler.html">SAML2CallbackHandler</a>();
+<a class="jxr_linenumber" name="L152" href="#L152">152</a>         callbackHandler.setStatement(SAML1CallbackHandler.Statement.AUTHN);
+<a class="jxr_linenumber" name="L153" href="#L153">153</a>         callbackHandler.setIssuer(<span class="jxr_string">"www.example.com"</span>);
+<a class="jxr_linenumber" name="L154" href="#L154">154</a>         
+<a class="jxr_linenumber" name="L155" href="#L155">155</a>         callbackHandler.setSubjectLocality(<span class="jxr_string">"xyz.ws.apache.org"</span>, <span class="jxr_string">"xyz.ws.apache.org"</span>);
+<a class="jxr_linenumber" name="L156" href="#L156">156</a>         
+<a class="jxr_linenumber" name="L157" href="#L157">157</a>         createAndVerifyMessage(callbackHandler, false);
+<a class="jxr_linenumber" name="L158" href="#L158">158</a>     }
+<a class="jxr_linenumber" name="L159" href="#L159">159</a>     
+<a class="jxr_linenumber" name="L160" href="#L160">160</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> createAndVerifyMessage(
+<a class="jxr_linenumber" name="L161" href="#L161">161</a>         CallbackHandler samlCallbackHandler, <strong class="jxr_keyword">boolean</strong> success
+<a class="jxr_linenumber" name="L162" href="#L162">162</a>     ) <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L163" href="#L163">163</a>         SAMLCallback samlCallback = <strong class="jxr_keyword">new</strong> SAMLCallback();
+<a class="jxr_linenumber" name="L164" href="#L164">164</a>         SAMLUtil.doSAMLCallback(samlCallbackHandler, samlCallback);
+<a class="jxr_linenumber" name="L165" href="#L165">165</a>         SamlAssertionWrapper samlAssertion = <strong class="jxr_keyword">new</strong> SamlAssertionWrapper(samlCallback);
+<a class="jxr_linenumber" name="L166" href="#L166">166</a> 
+<a class="jxr_linenumber" name="L167" href="#L167">167</a>         WSSecSAMLToken wsSign = <strong class="jxr_keyword">new</strong> WSSecSAMLToken();
+<a class="jxr_linenumber" name="L168" href="#L168">168</a> 
+<a class="jxr_linenumber" name="L169" href="#L169">169</a>         Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
+<a class="jxr_linenumber" name="L170" href="#L170">170</a>         WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
+<a class="jxr_linenumber" name="L171" href="#L171">171</a>         secHeader.insertSecurityHeader(doc);
+<a class="jxr_linenumber" name="L172" href="#L172">172</a>         
+<a class="jxr_linenumber" name="L173" href="#L173">173</a>         Document unsignedDoc = wsSign.build(doc, samlAssertion, secHeader);
+<a class="jxr_linenumber" name="L174" href="#L174">174</a> 
+<a class="jxr_linenumber" name="L175" href="#L175">175</a>         <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a class="jxr_linenumber" name="L176" href="#L176">176</a>             String outputString = 
+<a class="jxr_linenumber" name="L177" href="#L177">177</a>                 XMLUtils.PrettyDocumentToString(unsignedDoc);
+<a class="jxr_linenumber" name="L178" href="#L178">178</a>             LOG.debug(outputString);
+<a class="jxr_linenumber" name="L179" href="#L179">179</a>         }
+<a class="jxr_linenumber" name="L180" href="#L180">180</a>         
+<a class="jxr_linenumber" name="L181" href="#L181">181</a>         <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L182" href="#L182">182</a>             verify(unsignedDoc);
+<a class="jxr_linenumber" name="L183" href="#L183">183</a>             <strong class="jxr_keyword">if</strong> (!success) {
+<a class="jxr_linenumber" name="L184" href="#L184">184</a>                 fail(<span class="jxr_string">"Failure expected in processing the SAML assertion"</span>);
+<a class="jxr_linenumber" name="L185" href="#L185">185</a>             }
+<a class="jxr_linenumber" name="L186" href="#L186">186</a>         } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
+<a class="jxr_linenumber" name="L187" href="#L187">187</a>             assertTrue(!success);
+<a class="jxr_linenumber" name="L188" href="#L188">188</a>             assertTrue(ex.getMessage().contains(<span class="jxr_string">"SAML token security failure"</span>));
+<a class="jxr_linenumber" name="L189" href="#L189">189</a>         }
+<a class="jxr_linenumber" name="L190" href="#L190">190</a>     }
+<a class="jxr_linenumber" name="L191" href="#L191">191</a>     
+<a class="jxr_linenumber" name="L192" href="#L192">192</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L193" href="#L193">193</a> <em class="jxr_javadoccomment">     * Verifies the soap envelope</em>
+<a class="jxr_linenumber" name="L194" href="#L194">194</a> <em class="jxr_javadoccomment">     * &lt;p/&gt;</em>
+<a class="jxr_linenumber" name="L195" href="#L195">195</a> <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="L196" href="#L196">196</a> <em class="jxr_javadoccomment">     * @param envelope </em>
+<a class="jxr_linenumber" name="L197" href="#L197">197</a> <em class="jxr_javadoccomment">     * @throws Exception Thrown when there is a problem in verification</em>
+<a class="jxr_linenumber" name="L198" href="#L198">198</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L199" href="#L199">199</a>     <strong class="jxr_keyword">private</strong> List&lt;WSSecurityEngineResult&gt; verify(Document doc) <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L200" href="#L200">200</a>         List&lt;WSSecurityEngineResult&gt; results = 
+<a class="jxr_linenumber" name="L201" href="#L201">201</a>             secEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>);
+<a class="jxr_linenumber" name="L202" href="#L202">202</a>         String outputString = 
+<a class="jxr_linenumber" name="L203" href="#L203">203</a>             XMLUtils.PrettyDocumentToString(doc);
+<a class="jxr_linenumber" name="L204" href="#L204">204</a>         assertTrue(outputString.indexOf(<span class="jxr_string">"counter_port_type"</span>) &gt; 0 ? <strong class="jxr_keyword">true</strong> : false);
+<a class="jxr_linenumber" name="L205" href="#L205">205</a>         <strong class="jxr_keyword">return</strong> results;
+<a class="jxr_linenumber" name="L206" href="#L206">206</a>     }
+<a class="jxr_linenumber" name="L207" href="#L207">207</a>     
+<a class="jxr_linenumber" name="L208" href="#L208">208</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2004&#x2013;2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>



Mime
View raw message