cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1173036 - /cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java
Date Tue, 20 Sep 2011 08:53:37 GMT
Author: coheigea
Date: Tue Sep 20 08:53:36 2011
New Revision: 1173036

URL: http://svn.apache.org/viewvc?rev=1173036&view=rev
Log:
Fix for a failing test

Modified:
    cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java

Modified: cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java?rev=1173036&r1=1173035&r2=1173036&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java
Tue Sep 20 08:53:36 2011
@@ -23,7 +23,6 @@ import org.apache.ws.security.WSDocInfo;
 import org.apache.ws.security.WSSecurityEngineResult;
 import org.apache.ws.security.WSSecurityException;
 import org.apache.ws.security.handler.RequestData;
-import org.apache.ws.security.message.token.SecurityContextToken;
 import org.apache.ws.security.processor.Processor;
 import org.apache.ws.security.validate.Validator;
 
@@ -39,10 +38,7 @@ public class CustomProcessor implements 
         final WSDocInfo wsDocInfo 
     ) throws WSSecurityException {
         final WSSecurityEngineResult result = 
-            new WSSecurityEngineResult(
-                WSConstants.SIGN, 
-                (SecurityContextToken) null
-            );
+            new WSSecurityEngineResult(WSConstants.SIGN);
         result.put("foo", this);
         return java.util.Collections.singletonList(result);
     }



Mime
View raw message