ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1148820 - /webservices/wss4j/trunk/src/test/java/org/apache/ws/security/misc/FaultCodeTest.java
Date Wed, 20 Jul 2011 15:53:53 GMT
Author: coheigea
Date: Wed Jul 20 15:53:53 2011
New Revision: 1148820

URL: http://svn.apache.org/viewvc?rev=1148820&view=rev
Log:
Fixing an issue with a test with JDK 1.5

Modified:
    webservices/wss4j/trunk/src/test/java/org/apache/ws/security/misc/FaultCodeTest.java

Modified: webservices/wss4j/trunk/src/test/java/org/apache/ws/security/misc/FaultCodeTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/test/java/org/apache/ws/security/misc/FaultCodeTest.java?rev=1148820&r1=1148819&r2=1148820&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/test/java/org/apache/ws/security/misc/FaultCodeTest.java (original)
+++ webservices/wss4j/trunk/src/test/java/org/apache/ws/security/misc/FaultCodeTest.java Wed
Jul 20 15:53:53 2011
@@ -51,7 +51,7 @@ public class FaultCodeTest extends org.j
     private Crypto crypto = null;
     
     public FaultCodeTest() throws Exception {
-        crypto = CryptoFactory.getInstance();
+        crypto = CryptoFactory.getInstance("wss40.properties");
     }
 
     /**
@@ -61,7 +61,7 @@ public class FaultCodeTest extends org.j
     @org.junit.Test
     public void testFailedCheck() throws Exception {
         WSSecEncrypt builder = new WSSecEncrypt(secEngine.getWssConfig());
-        builder.setUserInfo("16c73ab6-b892-458f-abf5-2f875f74882e", "security");
+        builder.setUserInfo("wss40", "security");
         builder.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);
         Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
         WSSecHeader secHeader = new WSSecHeader();



Mime
View raw message