cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1302832 - /cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
Date Tue, 20 Mar 2012 10:56:44 GMT
Author: coheigea
Date: Tue Mar 20 10:56:44 2012
New Revision: 1302832

URL: http://svn.apache.org/viewvc?rev=1302832&view=rev
Log:
Make it possible to use a custom WSS4J Action on its own

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

Modified: cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java?rev=1302832&r1=1302831&r2=1302832&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
Tue Mar 20 10:56:44 2012
@@ -193,7 +193,7 @@ public class WSS4JOutInterceptor extends
                 }
     
                 int doAction = WSSecurityUtil.decodeAction(action, actions, config);
-                if (doAction == WSConstants.NO_SECURITY) {
+                if (doAction == WSConstants.NO_SECURITY && actions.isEmpty()) {
                     return;
                 }
     



Mime
View raw message