ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1150710 - /webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java
Date Mon, 25 Jul 2011 14:10:57 GMT
Author: coheigea
Date: Mon Jul 25 14:10:57 2011
New Revision: 1150710

URL: http://svn.apache.org/viewvc?rev=1150710&view=rev
Log:
Potential fix for sporadically failing test.

Modified:
    webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java

Modified: webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java?rev=1150710&r1=1150709&r2=1150710&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java
(original)
+++ webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java
Mon Jul 25 14:10:57 2011
@@ -49,7 +49,6 @@ import java.util.List;
 public class UTDerivedKeyTest extends org.junit.Assert {
     private static final org.apache.commons.logging.Log LOG = 
         org.apache.commons.logging.LogFactory.getLog(UTDerivedKeyTest.class);
-    private WSSecurityEngine secEngine = new WSSecurityEngine();
     private CallbackHandler callbackHandler = new UsernamePasswordCallbackHandler();
     private Crypto crypto = null;
     
@@ -795,6 +794,7 @@ public class UTDerivedKeyTest extends or
      * @throws java.lang.Exception Thrown when there is a problem in verification
      */
     private List<WSSecurityEngineResult> verify(Document doc) throws Exception {
+        WSSecurityEngine secEngine = new WSSecurityEngine();
         return secEngine.processSecurityHeader(doc, null, callbackHandler, crypto);
     }
 



Mime
View raw message