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 2012/07/31 18:30:30 UTC
svn commit: r1367668 [22/32] - in /webservices/wss4j/site: ./ apidocs/
apidocs/org/apache/ws/security/ apidocs/org/apache/ws/security/action/
apidocs/org/apache/ws/security/action/class-use/
apidocs/org/apache/ws/security/cache/ apidocs/org/apache/ws/s...
Modified: webservices/wss4j/site/testapidocs/overview-tree.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/testapidocs/overview-tree.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/testapidocs/overview-tree.html (original)
+++ webservices/wss4j/site/testapidocs/overview-tree.html Tue Jul 31 16:30:10 2012
@@ -2,19 +2,22 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_22) on Mon May 21 18:23:09 IST 2012 -->
+<!-- Generated by javadoc (build 1.6.0_31) on Wed Jul 25 15:27:44 IST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-Class Hierarchy (WSS4J 1.6.6 Test API)
+Class Hierarchy (WSS4J 1.6.7 Test API)
</TITLE>
+<META NAME="date" CONTENT="2012-07-25">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="Class Hierarchy (WSS4J 1.6.6 Test API)";
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Class Hierarchy (WSS4J 1.6.7 Test API)";
+ }
}
</SCRIPT>
<NOSCRIPT>
@@ -23,6 +26,7 @@ function windowTitle()
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
@@ -93,28 +97,28 @@ Class Hierarchy
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/SAML1CallbackHandler.html" title="class in org.apache.ws.security.common"><B>SAML1CallbackHandler</B></A><LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/SAML2CallbackHandler.html" title="class in org.apache.ws.security.common"><B>SAML2CallbackHandler</B></A><LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/SAMLElementCallbackHandler.html" title="class in org.apache.ws.security.common"><B>SAMLElementCallbackHandler</B></A></UL>
<LI TYPE="circle">org.junit.Assert<UL>
<LI TYPE="circle">org.apache.ws.security.saml.ext.<A HREF="org/apache/ws/security/saml/ext/AssertionSigningTest.html" title="class in org.apache.ws.security.saml.ext"><B>AssertionSigningTest</B></A><LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/BinarySecurityTokenTest.html" title="class in org.apache.ws.security.message.token"><B>BinarySecurityTokenTest</B></A><LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/BSTKerberosTest.html" title="class in org.apache.ws.security.message.token"><B>BSTKerberosTest</B></A><LI TYPE="circle">org.apache.ws.security.handler.<A HREF="org/apache/ws/security/handler/CallbackRefTest.html" title="class in org.apache.ws.security.handler"><B>CallbackRefTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/CertErrorTest.html" title="class in org.apache.ws.security.message"><B>CertErrorTest</B></A><LI
TYPE="circle">org.apache.ws.security.components.crypto.<A HREF="org/apache/ws/security/components/crypto/CertificateStoreTest.html" title="class in org.apache.ws.security.components.crypto"><B>CertificateStoreTest</B></A><LI TYPE="circle">org.apache.ws.security.components.crypto.<A HREF="org/apache/ws/security/components/crypto/CryptoProviderTest.html" title="class in org.apache.ws.security.components.crypto"><B>CryptoProviderTest</B></A><LI TYPE="circle">org.apache.ws.security.components.crypto.<A HREF="org/apache/ws/security/components/crypto/CryptoTest.html" title="class in org.apache.ws.security.components.crypto"><B>CryptoTest</B></A><LI TYPE="circle">org.apache.ws.security.handler.<A HREF="org/apache/ws/security/handler/CustomActionProcessorTest.html" title="class in org.apache.ws.security.handler"><B>CustomActionProcessorTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/DerivedKeyTest.html" title="class in org.apache
.ws.security.message"><B>DerivedKeyTest</B></A><LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/DerivedKeyTokenTest.html" title="class in org.apache.ws.security.message.token"><B>DerivedKeyTokenTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/EncryptedDataInHeaderTest.html" title="class in org.apache.ws.security.message"><B>EncryptedDataInHeaderTest</B></A><LI TYPE="circle">org.apache.ws.security.processor.<A HREF="org/apache/ws/security/processor/EncryptedKeyDataRefTest.html" title="class in org.apache.ws.security.processor"><B>EncryptedKeyDataRefTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/EncryptionCRLTest.html" title="class in org.apache.ws.security.message"><B>EncryptionCRLTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/EncryptionGCMTest.html" title="class in o
rg.apache.ws.security.message"><B>EncryptionGCMTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/EncryptionPartsTest.html" title="class in org.apache.ws.security.message"><B>EncryptionPartsTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/EncryptionTest.html" title="class in org.apache.ws.security.message"><B>EncryptionTest</B></A><LI TYPE="circle">org.apache.ws.security.misc.<A HREF="org/apache/ws/security/misc/FaultCodeTest.html" title="class in org.apache.ws.security.misc"><B>FaultCodeTest</B></A> (implements javax.security.auth.callback.CallbackHandler)
-<LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/KerberosTest.html" title="class in org.apache.ws.security.message.token"><B>KerberosTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/ModifiedRequestTest.html" title="class in org.apache.ws.security.message"><B>ModifiedRequestTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/NoSoapPrefixSignatureTest.html" title="class in org.apache.ws.security.message"><B>NoSoapPrefixSignatureTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/PasswordTypeTest.html" title="class in org.apache.ws.security.message"><B>PasswordTypeTest</B></A><LI TYPE="circle">org.apache.ws.security.misc.<A HREF="org/apache/ws/security/misc/PrincipalTest.html" title="class in org.apache.ws.security.misc"><B>PrincipalTest</B></A><LI TYPE="circle">org.apache.ws.sec
urity.processor.<A HREF="org/apache/ws/security/processor/ReferenceListDataRefTest.html" title="class in org.apache.ws.security.processor"><B>ReferenceListDataRefTest</B></A><LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/ReferenceTest.html" title="class in org.apache.ws.security.message.token"><B>ReferenceTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/ReplayTest.html" title="class in org.apache.ws.security.message"><B>ReplayTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/RequireSignedEncryptedDataElementsTest.html" title="class in org.apache.ws.security.message"><B>RequireSignedEncryptedDataElementsTest</B></A><LI TYPE="circle">org.apache.ws.security.handler.<A HREF="org/apache/ws/security/handler/ResultsOrderTest.html" title="class in org.apache.ws.security.handler"><B>ResultsOrderTest</B></A><LI TYPE="circle">org.a
pache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlConditionsTest.html" title="class in org.apache.ws.security.saml"><B>SamlConditionsTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlNegativeTest.html" title="class in org.apache.ws.security.saml"><B>SamlNegativeTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlReferenceTest.html" title="class in org.apache.ws.security.saml"><B>SamlReferenceTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlTokenDerivedTest.html" title="class in org.apache.ws.security.saml"><B>SamlTokenDerivedTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlTokenHOKTest.html" title="class in org.apache.ws.security.saml"><B>SamlTokenHOKTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlTokenSVTest.html" tit
le="class in org.apache.ws.security.saml"><B>SamlTokenSVTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlTokenTest.html" title="class in org.apache.ws.security.saml"><B>SamlTokenTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SecurityContextTokenTest.html" title="class in org.apache.ws.security.message"><B>SecurityContextTokenTest</B></A><LI TYPE="circle">org.apache.ws.security.misc.<A HREF="org/apache/ws/security/misc/SecurityHeaderTest.html" title="class in org.apache.ws.security.misc"><B>SecurityHeaderTest</B></A><LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/SecurityTokenReferenceTest.html" title="class in org.apache.ws.security.message.token"><B>SecurityTokenReferenceTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureCertTest.html" title="class in org.apache
.ws.security.message"><B>SignatureCertTest</B></A><LI TYPE="circle">org.apache.ws.security.handler.<A HREF="org/apache/ws/security/handler/SignatureConfirmationTest.html" title="class in org.apache.ws.security.handler"><B>SignatureConfirmationTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureCRLTest.html" title="class in org.apache.ws.security.message"><B>SignatureCRLTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureEncryptionTest.html" title="class in org.apache.ws.security.message"><B>SignatureEncryptionTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureKeyValueTest.html" title="class in org.apache.ws.security.message"><B>SignatureKeyValueTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignaturePartsTest.html" title="class in org.apache.ws.secur
ity.message"><B>SignaturePartsTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureTest.html" title="class in org.apache.ws.security.message"><B>SignatureTest</B></A><LI TYPE="circle">org.apache.ws.security.handler.<A HREF="org/apache/ws/security/handler/SignatureUTAliasTest.html" title="class in org.apache.ws.security.handler"><B>SignatureUTAliasTest</B></A> (implements javax.security.auth.callback.CallbackHandler)
+<LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/KerberosTest.html" title="class in org.apache.ws.security.message.token"><B>KerberosTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/ModifiedRequestTest.html" title="class in org.apache.ws.security.message"><B>ModifiedRequestTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/NoSoapPrefixSignatureTest.html" title="class in org.apache.ws.security.message"><B>NoSoapPrefixSignatureTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/PasswordTypeTest.html" title="class in org.apache.ws.security.message"><B>PasswordTypeTest</B></A><LI TYPE="circle">org.apache.ws.security.misc.<A HREF="org/apache/ws/security/misc/PrincipalTest.html" title="class in org.apache.ws.security.misc"><B>PrincipalTest</B></A><LI TYPE="circle">org.apache.ws.sec
urity.processor.<A HREF="org/apache/ws/security/processor/ReferenceListDataRefTest.html" title="class in org.apache.ws.security.processor"><B>ReferenceListDataRefTest</B></A><LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/ReferenceTest.html" title="class in org.apache.ws.security.message.token"><B>ReferenceTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/ReplayTest.html" title="class in org.apache.ws.security.message"><B>ReplayTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/RequireSignedEncryptedDataElementsTest.html" title="class in org.apache.ws.security.message"><B>RequireSignedEncryptedDataElementsTest</B></A><LI TYPE="circle">org.apache.ws.security.handler.<A HREF="org/apache/ws/security/handler/ResultsOrderTest.html" title="class in org.apache.ws.security.handler"><B>ResultsOrderTest</B></A><LI TYPE="circle">org.a
pache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlConditionsTest.html" title="class in org.apache.ws.security.saml"><B>SamlConditionsTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlNegativeTest.html" title="class in org.apache.ws.security.saml"><B>SamlNegativeTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlReferenceTest.html" title="class in org.apache.ws.security.saml"><B>SamlReferenceTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlTokenDerivedTest.html" title="class in org.apache.ws.security.saml"><B>SamlTokenDerivedTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlTokenHOKTest.html" title="class in org.apache.ws.security.saml"><B>SamlTokenHOKTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlTokenSVTest.html" tit
le="class in org.apache.ws.security.saml"><B>SamlTokenSVTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SamlTokenTest.html" title="class in org.apache.ws.security.saml"><B>SamlTokenTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SecurityContextTokenTest.html" title="class in org.apache.ws.security.message"><B>SecurityContextTokenTest</B></A><LI TYPE="circle">org.apache.ws.security.misc.<A HREF="org/apache/ws/security/misc/SecurityHeaderTest.html" title="class in org.apache.ws.security.misc"><B>SecurityHeaderTest</B></A><LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/SecurityTokenReferenceTest.html" title="class in org.apache.ws.security.message.token"><B>SecurityTokenReferenceTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureCertConstraintsTest.html" title="class in
org.apache.ws.security.message"><B>SignatureCertConstraintsTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureCertTest.html" title="class in org.apache.ws.security.message"><B>SignatureCertTest</B></A><LI TYPE="circle">org.apache.ws.security.handler.<A HREF="org/apache/ws/security/handler/SignatureConfirmationTest.html" title="class in org.apache.ws.security.handler"><B>SignatureConfirmationTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureCRLTest.html" title="class in org.apache.ws.security.message"><B>SignatureCRLTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureEncryptionTest.html" title="class in org.apache.ws.security.message"><B>SignatureEncryptionTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureKeyValueTest.html" title="class in or
g.apache.ws.security.message"><B>SignatureKeyValueTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignaturePartsTest.html" title="class in org.apache.ws.security.message"><B>SignaturePartsTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignatureTest.html" title="class in org.apache.ws.security.message"><B>SignatureTest</B></A><LI TYPE="circle">org.apache.ws.security.handler.<A HREF="org/apache/ws/security/handler/SignatureUTAliasTest.html" title="class in org.apache.ws.security.handler"><B>SignatureUTAliasTest</B></A> (implements javax.security.auth.callback.CallbackHandler)
<LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SignedBSTTest.html" title="class in org.apache.ws.security.message"><B>SignedBSTTest</B></A><LI TYPE="circle">org.apache.ws.security.saml.<A HREF="org/apache/ws/security/saml/SignedSamlTokenHOKTest.html" title="class in org.apache.ws.security.saml"><B>SignedSamlTokenHOKTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/SKISignatureTest.html" title="class in org.apache.ws.security.message"><B>SKISignatureTest</B></A><LI TYPE="circle">org.apache.ws.security.components.crypto.<A HREF="org/apache/ws/security/components/crypto/SKITest.html" title="class in org.apache.ws.security.components.crypto"><B>SKITest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/STRSignatureTest.html" title="class in org.apache.ws.security.message"><B>STRSignatureTest</B></A><LI TYPE="circle">org.apache.ws.security.mess
age.<A HREF="org/apache/ws/security/message/SymmetricSignatureTest.html" title="class in org.apache.ws.security.message"><B>SymmetricSignatureTest</B></A> (implements javax.security.auth.callback.CallbackHandler)
<LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/TestMessageTransformer.html" title="class in org.apache.ws.security.message"><B>TestMessageTransformer</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/TimestampTest.html" title="class in org.apache.ws.security.message"><B>TimestampTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/UsernameTokenTest.html" title="class in org.apache.ws.security.message"><B>UsernameTokenTest</B></A> (implements javax.security.auth.callback.CallbackHandler)
<LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/UTDerivedKeyTest.html" title="class in org.apache.ws.security.message"><B>UTDerivedKeyTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/UTSignatureTest.html" title="class in org.apache.ws.security.message"><B>UTSignatureTest</B></A><LI TYPE="circle">org.apache.ws.security.message.<A HREF="org/apache/ws/security/message/UTWseSignatureTest.html" title="class in org.apache.ws.security.message"><B>UTWseSignatureTest</B></A><LI TYPE="circle">org.apache.ws.security.validate.<A HREF="org/apache/ws/security/validate/ValidatorTest.html" title="class in org.apache.ws.security.validate"><B>ValidatorTest</B></A><LI TYPE="circle">org.apache.ws.security.message.token.<A HREF="org/apache/ws/security/message/token/WCFUsernameTokenTest.html" title="class in org.apache.ws.security.message.token"><B>WCFUsernameTokenTest</B></A><LI TYPE="circle">org.apache.
ws.security.handler.<A HREF="org/apache/ws/security/handler/WSHandlerGetPasswordTest.html" title="class in org.apache.ws.security.handler"><B>WSHandlerGetPasswordTest</B></A><LI TYPE="circle">org.apache.ws.security.components.crypto.<A HREF="org/apache/ws/security/components/crypto/X509NameTokenizerTest.html" title="class in org.apache.ws.security.components.crypto"><B>X509NameTokenizerTest</B></A></UL>
-<LI TYPE="circle">org.apache.ws.security.components.crypto.<A HREF="../apidocs/org/apache/ws/security/components/crypto/CryptoBase.html" title="class or interface in org.apache.ws.security.components.crypto"><B>CryptoBase</B></A> (implements org.apache.ws.security.components.crypto.<A HREF="../apidocs/org/apache/ws/security/components/crypto/Crypto.html" title="class or interface in org.apache.ws.security.components.crypto">Crypto</A>)
+<LI TYPE="circle">org.apache.ws.security.components.crypto.CryptoBase (implements org.apache.ws.security.components.crypto.Crypto)
<UL>
-<LI TYPE="circle">org.apache.ws.security.components.crypto.<A HREF="../apidocs/org/apache/ws/security/components/crypto/Merlin.html" title="class or interface in org.apache.ws.security.components.crypto"><B>Merlin</B></A><UL>
+<LI TYPE="circle">org.apache.ws.security.components.crypto.Merlin<UL>
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/CustomCrypto.html" title="class in org.apache.ws.security.common"><B>CustomCrypto</B></A></UL>
</UL>
-<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/CustomAction.html" title="class in org.apache.ws.security.common"><B>CustomAction</B></A> (implements org.apache.ws.security.action.<A HREF="../apidocs/org/apache/ws/security/action/Action.html" title="class or interface in org.apache.ws.security.action">Action</A>)
-<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/CustomProcessor.html" title="class in org.apache.ws.security.common"><B>CustomProcessor</B></A> (implements org.apache.ws.security.processor.<A HREF="../apidocs/org/apache/ws/security/processor/Processor.html" title="class or interface in org.apache.ws.security.processor">Processor</A>)
+<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/CustomAction.html" title="class in org.apache.ws.security.common"><B>CustomAction</B></A> (implements org.apache.ws.security.action.Action)
+<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/CustomProcessor.html" title="class in org.apache.ws.security.common"><B>CustomProcessor</B></A> (implements org.apache.ws.security.processor.Processor)
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/EncodedPasswordCallbackHandler.html" title="class in org.apache.ws.security.common"><B>EncodedPasswordCallbackHandler</B></A> (implements javax.security.auth.callback.CallbackHandler)
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/KeystoreCallbackHandler.html" title="class in org.apache.ws.security.common"><B>KeystoreCallbackHandler</B></A> (implements javax.security.auth.callback.CallbackHandler)
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/SAML1AuthnHOKHandler.html" title="class in org.apache.ws.security.common"><B>SAML1AuthnHOKHandler</B></A> (implements javax.security.auth.callback.CallbackHandler)
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/SecretKeyCallbackHandler.html" title="class in org.apache.ws.security.common"><B>SecretKeyCallbackHandler</B></A> (implements javax.security.auth.callback.CallbackHandler)
-<LI TYPE="circle">org.apache.ws.security.validate.<A HREF="../apidocs/org/apache/ws/security/validate/SignatureTrustValidator.html" title="class or interface in org.apache.ws.security.validate"><B>SignatureTrustValidator</B></A> (implements org.apache.ws.security.validate.<A HREF="../apidocs/org/apache/ws/security/validate/Validator.html" title="class or interface in org.apache.ws.security.validate">Validator</A>)
+<LI TYPE="circle">org.apache.ws.security.validate.SignatureTrustValidator (implements org.apache.ws.security.validate.Validator)
<UL>
-<LI TYPE="circle">org.apache.ws.security.validate.<A HREF="../apidocs/org/apache/ws/security/validate/SamlAssertionValidator.html" title="class or interface in org.apache.ws.security.validate"><B>SamlAssertionValidator</B></A><UL>
+<LI TYPE="circle">org.apache.ws.security.validate.SamlAssertionValidator<UL>
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/CustomSamlAssertionValidator.html" title="class in org.apache.ws.security.common"><B>CustomSamlAssertionValidator</B></A></UL>
</UL>
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/SOAPUtil.html" title="class in org.apache.ws.security.common"><B>SOAPUtil</B></A><LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/UsernamePasswordCallbackHandler.html" title="class in org.apache.ws.security.common"><B>UsernamePasswordCallbackHandler</B></A> (implements javax.security.auth.callback.CallbackHandler)
-<LI TYPE="circle">org.apache.ws.security.handler.<A HREF="../apidocs/org/apache/ws/security/handler/WSHandler.html" title="class or interface in org.apache.ws.security.handler"><B>WSHandler</B></A><UL>
+<LI TYPE="circle">org.apache.ws.security.handler.WSHandler<UL>
<LI TYPE="circle">org.apache.ws.security.common.<A HREF="org/apache/ws/security/common/CustomHandler.html" title="class in org.apache.ws.security.common"><B>CustomHandler</B></A></UL>
</UL>
</UL>
Modified: webservices/wss4j/site/testapidocs/stylesheet.css
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/testapidocs/stylesheet.css?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/testapidocs/stylesheet.css (original)
+++ webservices/wss4j/site/testapidocs/stylesheet.css Tue Jul 31 16:30:10 2012
@@ -3,27 +3,27 @@
/* Define colors, fonts and other style attributes here to override the defaults */
/* Page background color */
-body { background-color: #FFFFFF }
+body { background-color: #FFFFFF; color:#000000 }
/* Headings */
h1 { font-size: 145% }
/* Table colors */
-.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
-.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
-.TableRowColor { background: #FFFFFF } /* White */
+.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */
+.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */
+.TableRowColor { background: #FFFFFF; color:#000000 } /* White */
/* Font used in left-hand frame lists */
-.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif }
-.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
-.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
+.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
+.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
+.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
/* Navigation bar fonts and colors */
-.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */
-.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */
-.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
-.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
+.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */
+.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */
+.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;}
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;}
-.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
-.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
+.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
Modified: webservices/wss4j/site/topics.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/topics.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/topics.html (original)
+++ webservices/wss4j/site/topics.html Tue Jul 31 16:30:10 2012
@@ -47,7 +47,7 @@
<div class="xleft">
- Last Published: 2012-05-21
+ Last Published: 2012-07-25
</div>
<div class="xright">
Modified: webservices/wss4j/site/using.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/using.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/using.html (original)
+++ webservices/wss4j/site/using.html Tue Jul 31 16:30:10 2012
@@ -47,7 +47,7 @@
<div class="xleft">
- Last Published: 2012-05-21
+ Last Published: 2012-07-25
</div>
<div class="xright">
Modified: webservices/wss4j/site/wss4j16.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/wss4j16.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/wss4j16.html (original)
+++ webservices/wss4j/site/wss4j16.html Tue Jul 31 16:30:10 2012
@@ -47,7 +47,7 @@
<div class="xleft">
- Last Published: 2012-05-21
+ Last Published: 2012-07-25
</div>
<div class="xright">
Modified: webservices/wss4j/site/xref-test/allclasses-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/allclasses-frame.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/allclasses-frame.html (original)
+++ webservices/wss4j/site/xref-test/allclasses-frame.html Tue Jul 31 16:30:10 2012
@@ -195,6 +195,9 @@
<a href="org/apache/ws/security/message/SignatureCRLTest.html" target="classFrame">SignatureCRLTest</a>
</li>
<li>
+ <a href="org/apache/ws/security/message/SignatureCertConstraintsTest.html" target="classFrame">SignatureCertConstraintsTest</a>
+ </li>
+ <li>
<a href="org/apache/ws/security/message/SignatureCertTest.html" target="classFrame">SignatureCertTest</a>
</li>
<li>
Modified: webservices/wss4j/site/xref-test/index.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/index.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/index.html (original)
+++ webservices/wss4j/site/xref-test/index.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference</title>
+ <title>WSS4J 1.6.7 Reference</title>
</head>
<frameset cols="20%,80%">
<frameset rows="30%,70%">
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/common/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/common/package-frame.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/common/package-frame.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/common/package-frame.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.common</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.common</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/common/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/common/package-summary.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/common/package-summary.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/common/package-summary.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.common</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.common</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/components/crypto/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/components/crypto/package-frame.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/components/crypto/package-frame.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/components/crypto/package-frame.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.components.crypto</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.components.crypto</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/components/crypto/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/components/crypto/package-summary.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/components/crypto/package-summary.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/components/crypto/package-summary.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.components.crypto</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.components.crypto</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/handler/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/handler/package-frame.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/handler/package-frame.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/handler/package-frame.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.handler</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.handler</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/handler/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/handler/package-summary.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/handler/package-summary.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/handler/package-summary.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.handler</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.handler</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/message/UsernameTokenTest.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/message/UsernameTokenTest.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/message/UsernameTokenTest.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/message/UsernameTokenTest.html Tue Jul 31 16:30:10 2012
@@ -658,236 +658,263 @@
<a name="648" href="#648">648</a> }
<a name="649" href="#649">649</a>
<a name="650" href="#650">650</a> <em class="jxr_javadoccomment">/**</em>
-<a name="651" href="#651">651</a> <em class="jxr_javadoccomment"> * Test that adds a UserNameToken with an empty password via WSHandler</em>
+<a name="651" href="#651">651</a> <em class="jxr_javadoccomment"> * Test that adds a UserNameToken with no password via WSHandler</em>
<a name="652" href="#652">652</a> <em class="jxr_javadoccomment"> */</em>
<a name="653" href="#653">653</a> @org.junit.Test
-<a name="654" href="#654">654</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testUsernameTokenWSHandlerEmptyPassword() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="654" href="#654">654</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testUsernameTokenWSHandlerNoPassword() <strong class="jxr_keyword">throws</strong> Exception {
<a name="655" href="#655">655</a> <a href="../../../../../org/apache/ws/security/common/CustomHandler.html">CustomHandler</a> handler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/common/CustomHandler.html">CustomHandler</a>();
<a name="656" href="#656">656</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
<a name="657" href="#657">657</a>
<a name="658" href="#658">658</a> RequestData reqData = <strong class="jxr_keyword">new</strong> RequestData();
<a name="659" href="#659">659</a> java.util.Map<String, Object> config = <strong class="jxr_keyword">new</strong> java.util.TreeMap<String, Object>();
-<a name="660" href="#660">660</a> config.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_TEXT);
-<a name="661" href="#661">661</a> config.put(WSHandlerConstants.PW_CALLBACK_REF, <strong class="jxr_keyword">this</strong>);
-<a name="662" href="#662">662</a> reqData.setUsername(<span class="jxr_string">"emptyuser"</span>);
-<a name="663" href="#663">663</a> reqData.setMsgContext(config);
-<a name="664" href="#664">664</a>
-<a name="665" href="#665">665</a> java.util.List<Integer> actions = <strong class="jxr_keyword">new</strong> java.util.ArrayList<Integer>();
-<a name="666" href="#666">666</a> actions.add(Integer.valueOf(WSConstants.UT));
-<a name="667" href="#667">667</a>
-<a name="668" href="#668">668</a> handler.send(WSConstants.UT, doc, reqData, actions, <strong class="jxr_keyword">true</strong>);
-<a name="669" href="#669">669</a>
-<a name="670" href="#670">670</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
-<a name="671" href="#671">671</a> LOG.debug(<span class="jxr_string">"Username Token with an empty password via WSHandler"</span>);
-<a name="672" href="#672">672</a> String outputString =
-<a name="673" href="#673">673</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(doc);
-<a name="674" href="#674">674</a> LOG.debug(outputString);
-<a name="675" href="#675">675</a> }
-<a name="676" href="#676">676</a> }
-<a name="677" href="#677">677</a>
-<a name="678" href="#678">678</a> <em class="jxr_javadoccomment">/**</em>
-<a name="679" href="#679">679</a> <em class="jxr_javadoccomment"> * A test for sending multiple nonces in the UsernameToken</em>
-<a name="680" href="#680">680</a> <em class="jxr_javadoccomment"> */</em>
-<a name="681" href="#681">681</a> @org.junit.Test
-<a name="682" href="#682">682</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testMultipleNonce() <strong class="jxr_keyword">throws</strong> Exception {
-<a name="683" href="#683">683</a> WSSecUsernameToken builder = <strong class="jxr_keyword">new</strong> WSSecUsernameToken();
-<a name="684" href="#684">684</a> builder.setPasswordType(WSConstants.PASSWORD_DIGEST);
-<a name="685" href="#685">685</a> builder.setUserInfo(<span class="jxr_string">"wernerd"</span>, <span class="jxr_string">"verySecret"</span>);
-<a name="686" href="#686">686</a>
-<a name="687" href="#687">687</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
-<a name="688" href="#688">688</a> WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
-<a name="689" href="#689">689</a> secHeader.insertSecurityHeader(doc);
-<a name="690" href="#690">690</a> Document utDoc = builder.build(doc, secHeader);
+<a name="660" href="#660">660</a> config.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_NONE);
+<a name="661" href="#661">661</a> reqData.setUsername(<span class="jxr_string">"wernerd"</span>);
+<a name="662" href="#662">662</a> reqData.setMsgContext(config);
+<a name="663" href="#663">663</a>
+<a name="664" href="#664">664</a> java.util.List<Integer> actions = <strong class="jxr_keyword">new</strong> java.util.ArrayList<Integer>();
+<a name="665" href="#665">665</a> actions.add(Integer.valueOf(WSConstants.UT));
+<a name="666" href="#666">666</a>
+<a name="667" href="#667">667</a> handler.send(WSConstants.UT, doc, reqData, actions, <strong class="jxr_keyword">true</strong>);
+<a name="668" href="#668">668</a>
+<a name="669" href="#669">669</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="670" href="#670">670</a> LOG.debug(<span class="jxr_string">"Username Token via WSHandler"</span>);
+<a name="671" href="#671">671</a> String outputString =
+<a name="672" href="#672">672</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(doc);
+<a name="673" href="#673">673</a> LOG.debug(outputString);
+<a name="674" href="#674">674</a> }
+<a name="675" href="#675">675</a> }
+<a name="676" href="#676">676</a>
+<a name="677" href="#677">677</a> <em class="jxr_javadoccomment">/**</em>
+<a name="678" href="#678">678</a> <em class="jxr_javadoccomment"> * Test that adds a UserNameToken with an empty password via WSHandler</em>
+<a name="679" href="#679">679</a> <em class="jxr_javadoccomment"> */</em>
+<a name="680" href="#680">680</a> @org.junit.Test
+<a name="681" href="#681">681</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testUsernameTokenWSHandlerEmptyPassword() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="682" href="#682">682</a> <a href="../../../../../org/apache/ws/security/common/CustomHandler.html">CustomHandler</a> handler = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/common/CustomHandler.html">CustomHandler</a>();
+<a name="683" href="#683">683</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
+<a name="684" href="#684">684</a>
+<a name="685" href="#685">685</a> RequestData reqData = <strong class="jxr_keyword">new</strong> RequestData();
+<a name="686" href="#686">686</a> java.util.Map<String, Object> config = <strong class="jxr_keyword">new</strong> java.util.TreeMap<String, Object>();
+<a name="687" href="#687">687</a> config.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_TEXT);
+<a name="688" href="#688">688</a> config.put(WSHandlerConstants.PW_CALLBACK_REF, <strong class="jxr_keyword">this</strong>);
+<a name="689" href="#689">689</a> reqData.setUsername(<span class="jxr_string">"emptyuser"</span>);
+<a name="690" href="#690">690</a> reqData.setMsgContext(config);
<a name="691" href="#691">691</a>
-<a name="692" href="#692">692</a> <em class="jxr_comment">//</em>
-<a name="693" href="#693">693</a> <em class="jxr_comment">// Manually find the Nonce node and duplicate it</em>
-<a name="694" href="#694">694</a> <em class="jxr_comment">//</em>
-<a name="695" href="#695">695</a> org.w3c.dom.Element elem = builder.getUsernameTokenElement();
-<a name="696" href="#696">696</a> org.w3c.dom.NodeList list = elem.getElementsByTagNameNS(WSConstants.WSSE_NS, <span class="jxr_string">"Nonce"</span>);
-<a name="697" href="#697">697</a> org.w3c.dom.Node nonceNode = list.item(0);
-<a name="698" href="#698">698</a> org.w3c.dom.Node nonceCopy = nonceNode.cloneNode(<strong class="jxr_keyword">true</strong>);
-<a name="699" href="#699">699</a> nonceNode.getParentNode().insertBefore(nonceCopy, nonceNode);
-<a name="700" href="#700">700</a>
-<a name="701" href="#701">701</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
-<a name="702" href="#702">702</a> String outputString =
-<a name="703" href="#703">703</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(utDoc);
-<a name="704" href="#704">704</a> LOG.debug(outputString);
-<a name="705" href="#705">705</a> }
-<a name="706" href="#706">706</a>
-<a name="707" href="#707">707</a> WSSecurityEngine newEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
-<a name="708" href="#708">708</a> <strong class="jxr_keyword">try</strong> {
-<a name="709" href="#709">709</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="710" href="#710">710</a> fail(<span class="jxr_string">"Expected failure as it is not BSP compliant"</span>);
-<a name="711" href="#711">711</a> } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
-<a name="712" href="#712">712</a> <em class="jxr_comment">// expected</em>
-<a name="713" href="#713">713</a> }
-<a name="714" href="#714">714</a> WSSConfig config = WSSConfig.getNewInstance();
-<a name="715" href="#715">715</a> config.setWsiBSPCompliant(false);
-<a name="716" href="#716">716</a> newEngine.setWssConfig(config);
-<a name="717" href="#717">717</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="718" href="#718">718</a> }
-<a name="719" href="#719">719</a>
-<a name="720" href="#720">720</a> <em class="jxr_javadoccomment">/**</em>
-<a name="721" href="#721">721</a> <em class="jxr_javadoccomment"> * A test for sending multiple Created elements in the UsernameToken</em>
-<a name="722" href="#722">722</a> <em class="jxr_javadoccomment"> */</em>
-<a name="723" href="#723">723</a> @org.junit.Test
-<a name="724" href="#724">724</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testMultipleCreated() <strong class="jxr_keyword">throws</strong> Exception {
-<a name="725" href="#725">725</a> WSSecUsernameToken builder = <strong class="jxr_keyword">new</strong> WSSecUsernameToken();
-<a name="726" href="#726">726</a> builder.setPasswordType(WSConstants.PASSWORD_DIGEST);
-<a name="727" href="#727">727</a> builder.setUserInfo(<span class="jxr_string">"wernerd"</span>, <span class="jxr_string">"verySecret"</span>);
-<a name="728" href="#728">728</a>
-<a name="729" href="#729">729</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
-<a name="730" href="#730">730</a> WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
-<a name="731" href="#731">731</a> secHeader.insertSecurityHeader(doc);
-<a name="732" href="#732">732</a> Document utDoc = builder.build(doc, secHeader);
+<a name="692" href="#692">692</a> java.util.List<Integer> actions = <strong class="jxr_keyword">new</strong> java.util.ArrayList<Integer>();
+<a name="693" href="#693">693</a> actions.add(Integer.valueOf(WSConstants.UT));
+<a name="694" href="#694">694</a>
+<a name="695" href="#695">695</a> handler.send(WSConstants.UT, doc, reqData, actions, <strong class="jxr_keyword">true</strong>);
+<a name="696" href="#696">696</a>
+<a name="697" href="#697">697</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="698" href="#698">698</a> LOG.debug(<span class="jxr_string">"Username Token with an empty password via WSHandler"</span>);
+<a name="699" href="#699">699</a> String outputString =
+<a name="700" href="#700">700</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(doc);
+<a name="701" href="#701">701</a> LOG.debug(outputString);
+<a name="702" href="#702">702</a> }
+<a name="703" href="#703">703</a> }
+<a name="704" href="#704">704</a>
+<a name="705" href="#705">705</a> <em class="jxr_javadoccomment">/**</em>
+<a name="706" href="#706">706</a> <em class="jxr_javadoccomment"> * A test for sending multiple nonces in the UsernameToken</em>
+<a name="707" href="#707">707</a> <em class="jxr_javadoccomment"> */</em>
+<a name="708" href="#708">708</a> @org.junit.Test
+<a name="709" href="#709">709</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testMultipleNonce() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="710" href="#710">710</a> WSSecUsernameToken builder = <strong class="jxr_keyword">new</strong> WSSecUsernameToken();
+<a name="711" href="#711">711</a> builder.setPasswordType(WSConstants.PASSWORD_DIGEST);
+<a name="712" href="#712">712</a> builder.setUserInfo(<span class="jxr_string">"wernerd"</span>, <span class="jxr_string">"verySecret"</span>);
+<a name="713" href="#713">713</a>
+<a name="714" href="#714">714</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
+<a name="715" href="#715">715</a> WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
+<a name="716" href="#716">716</a> secHeader.insertSecurityHeader(doc);
+<a name="717" href="#717">717</a> Document utDoc = builder.build(doc, secHeader);
+<a name="718" href="#718">718</a>
+<a name="719" href="#719">719</a> <em class="jxr_comment">//</em>
+<a name="720" href="#720">720</a> <em class="jxr_comment">// Manually find the Nonce node and duplicate it</em>
+<a name="721" href="#721">721</a> <em class="jxr_comment">//</em>
+<a name="722" href="#722">722</a> org.w3c.dom.Element elem = builder.getUsernameTokenElement();
+<a name="723" href="#723">723</a> org.w3c.dom.NodeList list = elem.getElementsByTagNameNS(WSConstants.WSSE_NS, <span class="jxr_string">"Nonce"</span>);
+<a name="724" href="#724">724</a> org.w3c.dom.Node nonceNode = list.item(0);
+<a name="725" href="#725">725</a> org.w3c.dom.Node nonceCopy = nonceNode.cloneNode(<strong class="jxr_keyword">true</strong>);
+<a name="726" href="#726">726</a> nonceNode.getParentNode().insertBefore(nonceCopy, nonceNode);
+<a name="727" href="#727">727</a>
+<a name="728" href="#728">728</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="729" href="#729">729</a> String outputString =
+<a name="730" href="#730">730</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(utDoc);
+<a name="731" href="#731">731</a> LOG.debug(outputString);
+<a name="732" href="#732">732</a> }
<a name="733" href="#733">733</a>
-<a name="734" href="#734">734</a> <em class="jxr_comment">//</em>
-<a name="735" href="#735">735</a> <em class="jxr_comment">// Manually find the Created node and duplicate it</em>
-<a name="736" href="#736">736</a> <em class="jxr_comment">//</em>
-<a name="737" href="#737">737</a> org.w3c.dom.Element elem = builder.getUsernameTokenElement();
-<a name="738" href="#738">738</a> org.w3c.dom.NodeList list = elem.getElementsByTagNameNS(WSConstants.WSU_NS, <span class="jxr_string">"Created"</span>);
-<a name="739" href="#739">739</a> org.w3c.dom.Node createdNode = list.item(0);
-<a name="740" href="#740">740</a> org.w3c.dom.Node createdCopy = createdNode.cloneNode(<strong class="jxr_keyword">true</strong>);
-<a name="741" href="#741">741</a> createdNode.getParentNode().insertBefore(createdCopy, createdNode);
-<a name="742" href="#742">742</a>
-<a name="743" href="#743">743</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
-<a name="744" href="#744">744</a> String outputString =
-<a name="745" href="#745">745</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(utDoc);
-<a name="746" href="#746">746</a> LOG.debug(outputString);
-<a name="747" href="#747">747</a> }
-<a name="748" href="#748">748</a>
-<a name="749" href="#749">749</a> WSSecurityEngine newEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
-<a name="750" href="#750">750</a> <strong class="jxr_keyword">try</strong> {
-<a name="751" href="#751">751</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="752" href="#752">752</a> fail(<span class="jxr_string">"Expected failure as it is not BSP compliant"</span>);
-<a name="753" href="#753">753</a> } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
-<a name="754" href="#754">754</a> <em class="jxr_comment">// expected</em>
-<a name="755" href="#755">755</a> }
-<a name="756" href="#756">756</a> WSSConfig config = WSSConfig.getNewInstance();
-<a name="757" href="#757">757</a> config.setWsiBSPCompliant(false);
-<a name="758" href="#758">758</a> newEngine.setWssConfig(config);
-<a name="759" href="#759">759</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="760" href="#760">760</a> }
-<a name="761" href="#761">761</a>
-<a name="762" href="#762">762</a> <em class="jxr_javadoccomment">/**</em>
-<a name="763" href="#763">763</a> <em class="jxr_javadoccomment"> * A test for sending multiple passwords in the UsernameToken</em>
-<a name="764" href="#764">764</a> <em class="jxr_javadoccomment"> */</em>
-<a name="765" href="#765">765</a> @org.junit.Test
-<a name="766" href="#766">766</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testMultiplePassword() <strong class="jxr_keyword">throws</strong> Exception {
-<a name="767" href="#767">767</a> WSSecUsernameToken builder = <strong class="jxr_keyword">new</strong> WSSecUsernameToken();
-<a name="768" href="#768">768</a> builder.setPasswordType(WSConstants.PASSWORD_DIGEST);
-<a name="769" href="#769">769</a> builder.setUserInfo(<span class="jxr_string">"wernerd"</span>, <span class="jxr_string">"verySecret"</span>);
-<a name="770" href="#770">770</a>
-<a name="771" href="#771">771</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
-<a name="772" href="#772">772</a> WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
-<a name="773" href="#773">773</a> secHeader.insertSecurityHeader(doc);
-<a name="774" href="#774">774</a> Document utDoc = builder.build(doc, secHeader);
+<a name="734" href="#734">734</a> WSSecurityEngine newEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
+<a name="735" href="#735">735</a> <strong class="jxr_keyword">try</strong> {
+<a name="736" href="#736">736</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="737" href="#737">737</a> fail(<span class="jxr_string">"Expected failure as it is not BSP compliant"</span>);
+<a name="738" href="#738">738</a> } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
+<a name="739" href="#739">739</a> <em class="jxr_comment">// expected</em>
+<a name="740" href="#740">740</a> }
+<a name="741" href="#741">741</a> WSSConfig config = WSSConfig.getNewInstance();
+<a name="742" href="#742">742</a> config.setWsiBSPCompliant(false);
+<a name="743" href="#743">743</a> newEngine.setWssConfig(config);
+<a name="744" href="#744">744</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="745" href="#745">745</a> }
+<a name="746" href="#746">746</a>
+<a name="747" href="#747">747</a> <em class="jxr_javadoccomment">/**</em>
+<a name="748" href="#748">748</a> <em class="jxr_javadoccomment"> * A test for sending multiple Created elements in the UsernameToken</em>
+<a name="749" href="#749">749</a> <em class="jxr_javadoccomment"> */</em>
+<a name="750" href="#750">750</a> @org.junit.Test
+<a name="751" href="#751">751</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testMultipleCreated() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="752" href="#752">752</a> WSSecUsernameToken builder = <strong class="jxr_keyword">new</strong> WSSecUsernameToken();
+<a name="753" href="#753">753</a> builder.setPasswordType(WSConstants.PASSWORD_DIGEST);
+<a name="754" href="#754">754</a> builder.setUserInfo(<span class="jxr_string">"wernerd"</span>, <span class="jxr_string">"verySecret"</span>);
+<a name="755" href="#755">755</a>
+<a name="756" href="#756">756</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
+<a name="757" href="#757">757</a> WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
+<a name="758" href="#758">758</a> secHeader.insertSecurityHeader(doc);
+<a name="759" href="#759">759</a> Document utDoc = builder.build(doc, secHeader);
+<a name="760" href="#760">760</a>
+<a name="761" href="#761">761</a> <em class="jxr_comment">//</em>
+<a name="762" href="#762">762</a> <em class="jxr_comment">// Manually find the Created node and duplicate it</em>
+<a name="763" href="#763">763</a> <em class="jxr_comment">//</em>
+<a name="764" href="#764">764</a> org.w3c.dom.Element elem = builder.getUsernameTokenElement();
+<a name="765" href="#765">765</a> org.w3c.dom.NodeList list = elem.getElementsByTagNameNS(WSConstants.WSU_NS, <span class="jxr_string">"Created"</span>);
+<a name="766" href="#766">766</a> org.w3c.dom.Node createdNode = list.item(0);
+<a name="767" href="#767">767</a> org.w3c.dom.Node createdCopy = createdNode.cloneNode(<strong class="jxr_keyword">true</strong>);
+<a name="768" href="#768">768</a> createdNode.getParentNode().insertBefore(createdCopy, createdNode);
+<a name="769" href="#769">769</a>
+<a name="770" href="#770">770</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="771" href="#771">771</a> String outputString =
+<a name="772" href="#772">772</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(utDoc);
+<a name="773" href="#773">773</a> LOG.debug(outputString);
+<a name="774" href="#774">774</a> }
<a name="775" href="#775">775</a>
-<a name="776" href="#776">776</a> <em class="jxr_comment">//</em>
-<a name="777" href="#777">777</a> <em class="jxr_comment">// Manually find the Nonce node and duplicate it</em>
-<a name="778" href="#778">778</a> <em class="jxr_comment">//</em>
-<a name="779" href="#779">779</a> org.w3c.dom.Element elem = builder.getUsernameTokenElement();
-<a name="780" href="#780">780</a> org.w3c.dom.NodeList list = elem.getElementsByTagNameNS(WSConstants.WSSE_NS, <span class="jxr_string">"Password"</span>);
-<a name="781" href="#781">781</a> org.w3c.dom.Node passwordNode = list.item(0);
-<a name="782" href="#782">782</a> org.w3c.dom.Node passwordCopy = passwordNode.cloneNode(<strong class="jxr_keyword">true</strong>);
-<a name="783" href="#783">783</a> passwordNode.getParentNode().insertBefore(passwordCopy, passwordNode);
-<a name="784" href="#784">784</a>
-<a name="785" href="#785">785</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
-<a name="786" href="#786">786</a> String outputString =
-<a name="787" href="#787">787</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(utDoc);
-<a name="788" href="#788">788</a> LOG.debug(outputString);
-<a name="789" href="#789">789</a> }
-<a name="790" href="#790">790</a>
-<a name="791" href="#791">791</a> WSSecurityEngine newEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
-<a name="792" href="#792">792</a> <strong class="jxr_keyword">try</strong> {
-<a name="793" href="#793">793</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="794" href="#794">794</a> fail(<span class="jxr_string">"Expected failure as it is not BSP compliant"</span>);
-<a name="795" href="#795">795</a> } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
-<a name="796" href="#796">796</a> <em class="jxr_comment">// expected</em>
-<a name="797" href="#797">797</a> }
-<a name="798" href="#798">798</a> WSSConfig config = WSSConfig.getNewInstance();
-<a name="799" href="#799">799</a> config.setWsiBSPCompliant(false);
-<a name="800" href="#800">800</a> newEngine.setWssConfig(config);
-<a name="801" href="#801">801</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="802" href="#802">802</a> }
-<a name="803" href="#803">803</a>
-<a name="804" href="#804">804</a> <em class="jxr_javadoccomment">/**</em>
-<a name="805" href="#805">805</a> <em class="jxr_javadoccomment"> * A test for sending a nonce with a bad encoding type in the UsernameToken</em>
-<a name="806" href="#806">806</a> <em class="jxr_javadoccomment"> */</em>
-<a name="807" href="#807">807</a> @org.junit.Test
-<a name="808" href="#808">808</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testNonceBadEncodingType() <strong class="jxr_keyword">throws</strong> Exception {
-<a name="809" href="#809">809</a> WSSecUsernameToken builder = <strong class="jxr_keyword">new</strong> WSSecUsernameToken();
-<a name="810" href="#810">810</a> builder.setPasswordType(WSConstants.PASSWORD_DIGEST);
-<a name="811" href="#811">811</a> builder.setUserInfo(<span class="jxr_string">"wernerd"</span>, <span class="jxr_string">"verySecret"</span>);
-<a name="812" href="#812">812</a>
-<a name="813" href="#813">813</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
-<a name="814" href="#814">814</a> WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
-<a name="815" href="#815">815</a> secHeader.insertSecurityHeader(doc);
-<a name="816" href="#816">816</a> Document utDoc = builder.build(doc, secHeader);
+<a name="776" href="#776">776</a> WSSecurityEngine newEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
+<a name="777" href="#777">777</a> <strong class="jxr_keyword">try</strong> {
+<a name="778" href="#778">778</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="779" href="#779">779</a> fail(<span class="jxr_string">"Expected failure as it is not BSP compliant"</span>);
+<a name="780" href="#780">780</a> } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
+<a name="781" href="#781">781</a> <em class="jxr_comment">// expected</em>
+<a name="782" href="#782">782</a> }
+<a name="783" href="#783">783</a> WSSConfig config = WSSConfig.getNewInstance();
+<a name="784" href="#784">784</a> config.setWsiBSPCompliant(false);
+<a name="785" href="#785">785</a> newEngine.setWssConfig(config);
+<a name="786" href="#786">786</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="787" href="#787">787</a> }
+<a name="788" href="#788">788</a>
+<a name="789" href="#789">789</a> <em class="jxr_javadoccomment">/**</em>
+<a name="790" href="#790">790</a> <em class="jxr_javadoccomment"> * A test for sending multiple passwords in the UsernameToken</em>
+<a name="791" href="#791">791</a> <em class="jxr_javadoccomment"> */</em>
+<a name="792" href="#792">792</a> @org.junit.Test
+<a name="793" href="#793">793</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testMultiplePassword() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="794" href="#794">794</a> WSSecUsernameToken builder = <strong class="jxr_keyword">new</strong> WSSecUsernameToken();
+<a name="795" href="#795">795</a> builder.setPasswordType(WSConstants.PASSWORD_DIGEST);
+<a name="796" href="#796">796</a> builder.setUserInfo(<span class="jxr_string">"wernerd"</span>, <span class="jxr_string">"verySecret"</span>);
+<a name="797" href="#797">797</a>
+<a name="798" href="#798">798</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
+<a name="799" href="#799">799</a> WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
+<a name="800" href="#800">800</a> secHeader.insertSecurityHeader(doc);
+<a name="801" href="#801">801</a> Document utDoc = builder.build(doc, secHeader);
+<a name="802" href="#802">802</a>
+<a name="803" href="#803">803</a> <em class="jxr_comment">//</em>
+<a name="804" href="#804">804</a> <em class="jxr_comment">// Manually find the Nonce node and duplicate it</em>
+<a name="805" href="#805">805</a> <em class="jxr_comment">//</em>
+<a name="806" href="#806">806</a> org.w3c.dom.Element elem = builder.getUsernameTokenElement();
+<a name="807" href="#807">807</a> org.w3c.dom.NodeList list = elem.getElementsByTagNameNS(WSConstants.WSSE_NS, <span class="jxr_string">"Password"</span>);
+<a name="808" href="#808">808</a> org.w3c.dom.Node passwordNode = list.item(0);
+<a name="809" href="#809">809</a> org.w3c.dom.Node passwordCopy = passwordNode.cloneNode(<strong class="jxr_keyword">true</strong>);
+<a name="810" href="#810">810</a> passwordNode.getParentNode().insertBefore(passwordCopy, passwordNode);
+<a name="811" href="#811">811</a>
+<a name="812" href="#812">812</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="813" href="#813">813</a> String outputString =
+<a name="814" href="#814">814</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(utDoc);
+<a name="815" href="#815">815</a> LOG.debug(outputString);
+<a name="816" href="#816">816</a> }
<a name="817" href="#817">817</a>
-<a name="818" href="#818">818</a> <em class="jxr_comment">//</em>
-<a name="819" href="#819">819</a> <em class="jxr_comment">// Manually find the Nonce node and duplicate it</em>
-<a name="820" href="#820">820</a> <em class="jxr_comment">//</em>
-<a name="821" href="#821">821</a> org.w3c.dom.Element elem = builder.getUsernameTokenElement();
-<a name="822" href="#822">822</a> org.w3c.dom.NodeList list = elem.getElementsByTagNameNS(WSConstants.WSSE_NS, <span class="jxr_string">"Nonce"</span>);
-<a name="823" href="#823">823</a> org.w3c.dom.Node nonceNode = list.item(0);
-<a name="824" href="#824">824</a> ((org.w3c.dom.Element)nonceNode).setAttributeNS(
-<a name="825" href="#825">825</a> <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"EncodingType"</span>, <span class="jxr_string">"http://bad_encoding_type"</span>
-<a name="826" href="#826">826</a> );
-<a name="827" href="#827">827</a>
-<a name="828" href="#828">828</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
-<a name="829" href="#829">829</a> String outputString =
-<a name="830" href="#830">830</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(utDoc);
-<a name="831" href="#831">831</a> LOG.debug(outputString);
-<a name="832" href="#832">832</a> }
-<a name="833" href="#833">833</a>
-<a name="834" href="#834">834</a> WSSecurityEngine newEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
-<a name="835" href="#835">835</a> <strong class="jxr_keyword">try</strong> {
-<a name="836" href="#836">836</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="837" href="#837">837</a> fail(<span class="jxr_string">"Expected failure as it is not BSP compliant"</span>);
-<a name="838" href="#838">838</a> } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
-<a name="839" href="#839">839</a> <em class="jxr_comment">// expected</em>
-<a name="840" href="#840">840</a> }
-<a name="841" href="#841">841</a> WSSConfig config = WSSConfig.getNewInstance();
-<a name="842" href="#842">842</a> config.setWsiBSPCompliant(false);
-<a name="843" href="#843">843</a> newEngine.setWssConfig(config);
-<a name="844" href="#844">844</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="845" href="#845">845</a> }
-<a name="846" href="#846">846</a>
-<a name="847" href="#847">847</a> <em class="jxr_javadoccomment">/**</em>
-<a name="848" href="#848">848</a> <em class="jxr_javadoccomment"> * Verifies the soap envelope</em>
-<a name="849" href="#849">849</a> <em class="jxr_javadoccomment"> * </em>
-<a name="850" href="#850">850</a> <em class="jxr_javadoccomment"> * @param env soap envelope</em>
-<a name="851" href="#851">851</a> <em class="jxr_javadoccomment"> * @throws java.lang.Exception Thrown when there is a problem in verification</em>
-<a name="852" href="#852">852</a> <em class="jxr_javadoccomment"> */</em>
-<a name="853" href="#853">853</a> <strong class="jxr_keyword">private</strong> List<WSSecurityEngineResult> verify(Document doc) <strong class="jxr_keyword">throws</strong> Exception {
-<a name="854" href="#854">854</a> <strong class="jxr_keyword">return</strong> secEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
-<a name="855" href="#855">855</a> }
-<a name="856" href="#856">856</a>
-<a name="857" href="#857">857</a> <em class="jxr_javadoccomment">/**</em>
-<a name="858" href="#858">858</a> <em class="jxr_javadoccomment"> * A CallbackHandler for some (mostly insecure) scenarios.</em>
-<a name="859" href="#859">859</a> <em class="jxr_javadoccomment"> */</em>
-<a name="860" href="#860">860</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> handle(Callback[] callbacks)
-<a name="861" href="#861">861</a> <strong class="jxr_keyword">throws</strong> IOException, UnsupportedCallbackException {
-<a name="862" href="#862">862</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < callbacks.length; i++) {
-<a name="863" href="#863">863</a> <strong class="jxr_keyword">if</strong> (callbacks[i] instanceof WSPasswordCallback) {
-<a name="864" href="#864">864</a> WSPasswordCallback pc = (WSPasswordCallback) callbacks[i];
-<a name="865" href="#865">865</a> <strong class="jxr_keyword">if</strong> (pc.getUsage() == WSPasswordCallback.USERNAME_TOKEN) {
-<a name="866" href="#866">866</a> <strong class="jxr_keyword">if</strong> (<span class="jxr_string">"emptyuser"</span>.equals(pc.getIdentifier())) {
-<a name="867" href="#867">867</a> pc.setPassword(<span class="jxr_string">""</span>);
-<a name="868" href="#868">868</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (<span class="jxr_string">"customUser"</span>.equals(pc.getIdentifier())) {
-<a name="869" href="#869">869</a> <strong class="jxr_keyword">return</strong>;
-<a name="870" href="#870">870</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">null</strong> == pc.getIdentifier()) {
-<a name="871" href="#871">871</a> <em class="jxr_comment">// Note that this is not secure! Just doing this to test a NPE</em>
-<a name="872" href="#872">872</a> <strong class="jxr_keyword">return</strong>;
-<a name="873" href="#873">873</a> }
-<a name="874" href="#874">874</a> }
-<a name="875" href="#875">875</a> } <strong class="jxr_keyword">else</strong> {
-<a name="876" href="#876">876</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="877" href="#877">877</a> }
-<a name="878" href="#878">878</a> }
-<a name="879" href="#879">879</a> }
-<a name="880" href="#880">880</a> }
+<a name="818" href="#818">818</a> WSSecurityEngine newEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
+<a name="819" href="#819">819</a> <strong class="jxr_keyword">try</strong> {
+<a name="820" href="#820">820</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="821" href="#821">821</a> fail(<span class="jxr_string">"Expected failure as it is not BSP compliant"</span>);
+<a name="822" href="#822">822</a> } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
+<a name="823" href="#823">823</a> <em class="jxr_comment">// expected</em>
+<a name="824" href="#824">824</a> }
+<a name="825" href="#825">825</a> WSSConfig config = WSSConfig.getNewInstance();
+<a name="826" href="#826">826</a> config.setWsiBSPCompliant(false);
+<a name="827" href="#827">827</a> newEngine.setWssConfig(config);
+<a name="828" href="#828">828</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="829" href="#829">829</a> }
+<a name="830" href="#830">830</a>
+<a name="831" href="#831">831</a> <em class="jxr_javadoccomment">/**</em>
+<a name="832" href="#832">832</a> <em class="jxr_javadoccomment"> * A test for sending a nonce with a bad encoding type in the UsernameToken</em>
+<a name="833" href="#833">833</a> <em class="jxr_javadoccomment"> */</em>
+<a name="834" href="#834">834</a> @org.junit.Test
+<a name="835" href="#835">835</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testNonceBadEncodingType() <strong class="jxr_keyword">throws</strong> Exception {
+<a name="836" href="#836">836</a> WSSecUsernameToken builder = <strong class="jxr_keyword">new</strong> WSSecUsernameToken();
+<a name="837" href="#837">837</a> builder.setPasswordType(WSConstants.PASSWORD_DIGEST);
+<a name="838" href="#838">838</a> builder.setUserInfo(<span class="jxr_string">"wernerd"</span>, <span class="jxr_string">"verySecret"</span>);
+<a name="839" href="#839">839</a>
+<a name="840" href="#840">840</a> Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
+<a name="841" href="#841">841</a> WSSecHeader secHeader = <strong class="jxr_keyword">new</strong> WSSecHeader();
+<a name="842" href="#842">842</a> secHeader.insertSecurityHeader(doc);
+<a name="843" href="#843">843</a> Document utDoc = builder.build(doc, secHeader);
+<a name="844" href="#844">844</a>
+<a name="845" href="#845">845</a> <em class="jxr_comment">//</em>
+<a name="846" href="#846">846</a> <em class="jxr_comment">// Manually find the Nonce node and duplicate it</em>
+<a name="847" href="#847">847</a> <em class="jxr_comment">//</em>
+<a name="848" href="#848">848</a> org.w3c.dom.Element elem = builder.getUsernameTokenElement();
+<a name="849" href="#849">849</a> org.w3c.dom.NodeList list = elem.getElementsByTagNameNS(WSConstants.WSSE_NS, <span class="jxr_string">"Nonce"</span>);
+<a name="850" href="#850">850</a> org.w3c.dom.Node nonceNode = list.item(0);
+<a name="851" href="#851">851</a> ((org.w3c.dom.Element)nonceNode).setAttributeNS(
+<a name="852" href="#852">852</a> <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"EncodingType"</span>, <span class="jxr_string">"http://bad_encoding_type"</span>
+<a name="853" href="#853">853</a> );
+<a name="854" href="#854">854</a>
+<a name="855" href="#855">855</a> <strong class="jxr_keyword">if</strong> (LOG.isDebugEnabled()) {
+<a name="856" href="#856">856</a> String outputString =
+<a name="857" href="#857">857</a> org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(utDoc);
+<a name="858" href="#858">858</a> LOG.debug(outputString);
+<a name="859" href="#859">859</a> }
+<a name="860" href="#860">860</a>
+<a name="861" href="#861">861</a> WSSecurityEngine newEngine = <strong class="jxr_keyword">new</strong> WSSecurityEngine();
+<a name="862" href="#862">862</a> <strong class="jxr_keyword">try</strong> {
+<a name="863" href="#863">863</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="864" href="#864">864</a> fail(<span class="jxr_string">"Expected failure as it is not BSP compliant"</span>);
+<a name="865" href="#865">865</a> } <strong class="jxr_keyword">catch</strong> (WSSecurityException ex) {
+<a name="866" href="#866">866</a> <em class="jxr_comment">// expected</em>
+<a name="867" href="#867">867</a> }
+<a name="868" href="#868">868</a> WSSConfig config = WSSConfig.getNewInstance();
+<a name="869" href="#869">869</a> config.setWsiBSPCompliant(false);
+<a name="870" href="#870">870</a> newEngine.setWssConfig(config);
+<a name="871" href="#871">871</a> newEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="872" href="#872">872</a> }
+<a name="873" href="#873">873</a>
+<a name="874" href="#874">874</a> <em class="jxr_javadoccomment">/**</em>
+<a name="875" href="#875">875</a> <em class="jxr_javadoccomment"> * Verifies the soap envelope</em>
+<a name="876" href="#876">876</a> <em class="jxr_javadoccomment"> * </em>
+<a name="877" href="#877">877</a> <em class="jxr_javadoccomment"> * @param env soap envelope</em>
+<a name="878" href="#878">878</a> <em class="jxr_javadoccomment"> * @throws java.lang.Exception Thrown when there is a problem in verification</em>
+<a name="879" href="#879">879</a> <em class="jxr_javadoccomment"> */</em>
+<a name="880" href="#880">880</a> <strong class="jxr_keyword">private</strong> List<WSSecurityEngineResult> verify(Document doc) <strong class="jxr_keyword">throws</strong> Exception {
+<a name="881" href="#881">881</a> <strong class="jxr_keyword">return</strong> secEngine.processSecurityHeader(doc, <strong class="jxr_keyword">null</strong>, callbackHandler, <strong class="jxr_keyword">null</strong>);
+<a name="882" href="#882">882</a> }
+<a name="883" href="#883">883</a>
+<a name="884" href="#884">884</a> <em class="jxr_javadoccomment">/**</em>
+<a name="885" href="#885">885</a> <em class="jxr_javadoccomment"> * A CallbackHandler for some (mostly insecure) scenarios.</em>
+<a name="886" href="#886">886</a> <em class="jxr_javadoccomment"> */</em>
+<a name="887" href="#887">887</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> handle(Callback[] callbacks)
+<a name="888" href="#888">888</a> <strong class="jxr_keyword">throws</strong> IOException, UnsupportedCallbackException {
+<a name="889" href="#889">889</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < callbacks.length; i++) {
+<a name="890" href="#890">890</a> <strong class="jxr_keyword">if</strong> (callbacks[i] instanceof WSPasswordCallback) {
+<a name="891" href="#891">891</a> WSPasswordCallback pc = (WSPasswordCallback) callbacks[i];
+<a name="892" href="#892">892</a> <strong class="jxr_keyword">if</strong> (pc.getUsage() == WSPasswordCallback.USERNAME_TOKEN) {
+<a name="893" href="#893">893</a> <strong class="jxr_keyword">if</strong> (<span class="jxr_string">"emptyuser"</span>.equals(pc.getIdentifier())) {
+<a name="894" href="#894">894</a> pc.setPassword(<span class="jxr_string">""</span>);
+<a name="895" href="#895">895</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (<span class="jxr_string">"customUser"</span>.equals(pc.getIdentifier())) {
+<a name="896" href="#896">896</a> <strong class="jxr_keyword">return</strong>;
+<a name="897" href="#897">897</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">null</strong> == pc.getIdentifier()) {
+<a name="898" href="#898">898</a> <em class="jxr_comment">// Note that this is not secure! Just doing this to test a NPE</em>
+<a name="899" href="#899">899</a> <strong class="jxr_keyword">return</strong>;
+<a name="900" href="#900">900</a> }
+<a name="901" href="#901">901</a> }
+<a name="902" href="#902">902</a> } <strong class="jxr_keyword">else</strong> {
+<a name="903" href="#903">903</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="904" href="#904">904</a> }
+<a name="905" href="#905">905</a> }
+<a name="906" href="#906">906</a> }
+<a name="907" href="#907">907</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/message/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/message/package-frame.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/message/package-frame.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/message/package-frame.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.message</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.message</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -64,6 +64,9 @@
<a href="SignatureCRLTest.html" target="classFrame">SignatureCRLTest</a>
</li>
<li>
+ <a href="SignatureCertConstraintsTest.html" target="classFrame">SignatureCertConstraintsTest</a>
+ </li>
+ <li>
<a href="SignatureCertTest.html" target="classFrame">SignatureCertTest</a>
</li>
<li>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/message/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/message/package-summary.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/message/package-summary.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/message/package-summary.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.message</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.message</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -117,6 +117,11 @@
</tr>
<tr>
<td>
+ <a href="SignatureCertConstraintsTest.html" target="classFrame">SignatureCertConstraintsTest</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
<a href="SignatureCertTest.html" target="classFrame">SignatureCertTest</a>
</td>
</tr>
Modified: webservices/wss4j/site/xref-test/org/apache/ws/security/message/token/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref-test/org/apache/ws/security/message/token/package-frame.html?rev=1367668&r1=1367667&r2=1367668&view=diff
==============================================================================
--- webservices/wss4j/site/xref-test/org/apache/ws/security/message/token/package-frame.html (original)
+++ webservices/wss4j/site/xref-test/org/apache/ws/security/message/token/package-frame.html Tue Jul 31 16:30:10 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.6.6 Reference Package org.apache.ws.security.message.token</title>
+ <title>WSS4J 1.6.7 Reference Package org.apache.ws.security.message.token</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>