ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1150707 - /webservices/wss4j/branches/1_5_x-fixes/test/wssec/TestWSSecurityUTDK.java
Date Mon, 25 Jul 2011 14:03:43 GMT
Author: coheigea
Date: Mon Jul 25 14:03:43 2011
New Revision: 1150707

URL: http://svn.apache.org/viewvc?rev=1150707&view=rev
Log:
Potential fix for sporadic test failure.

Modified:
    webservices/wss4j/branches/1_5_x-fixes/test/wssec/TestWSSecurityUTDK.java

Modified: webservices/wss4j/branches/1_5_x-fixes/test/wssec/TestWSSecurityUTDK.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/1_5_x-fixes/test/wssec/TestWSSecurityUTDK.java?rev=1150707&r1=1150706&r2=1150707&view=diff
==============================================================================
--- webservices/wss4j/branches/1_5_x-fixes/test/wssec/TestWSSecurityUTDK.java (original)
+++ webservices/wss4j/branches/1_5_x-fixes/test/wssec/TestWSSecurityUTDK.java Mon Jul 25 14:03:43
2011
@@ -78,7 +78,6 @@ public class TestWSSecurityUTDK extends 
         +   "</SOAP-ENV:Body>" 
         + "</SOAP-ENV:Envelope>";
 
-    private WSSecurityEngine secEngine = new WSSecurityEngine();
     private Crypto crypto = CryptoFactory.getInstance();
     private MessageContext msgContext;
     private SOAPEnvelope unsignedEnvelope;
@@ -575,6 +574,7 @@ public class TestWSSecurityUTDK extends 
      * @throws java.lang.Exception Thrown when there is a problem in verification
      */
     private Vector verify(Document doc) throws Exception {
+        WSSecurityEngine secEngine = new WSSecurityEngine();
         return secEngine.processSecurityHeader(doc, null, this, crypto);
     }
     



Mime
View raw message