You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2013/11/20 10:55:36 UTC

svn commit: r1543746 - /cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java

Author: ay
Date: Wed Nov 20 09:55:36 2013
New Revision: 1543746

URL: http://svn.apache.org/r1543746
Log:
Merged revisions 1543736 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1543736 | ay | 2013-11-20 09:42:04 +0100 (Wed, 20 Nov 2013) | 2 lines

  [CXF-5405] WS-RM with anonymous endpoint throwing security policy validation exception for SequenceAck

........

Modified:
    cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java

Modified: cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java?rev=1543746&r1=1543745&r2=1543746&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java (original)
+++ cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java Wed Nov 20 09:55:36 2013
@@ -429,9 +429,10 @@ public class RMSoapInterceptor extends A
         // In the logical RM interceptor set it back to what it was so that the logical
         // addressing interceptor does not try to send a partial response to 
         // server originated oneway RM protocol messages.        
-        // 
+        // The actions that can appear in the response to the requestor should be excluded.
         
         if (!consts.getCreateSequenceResponseAction().equals(action)
+            && !consts.getSequenceAckAction().equals(action)
             && !RM11Constants.INSTANCE.getTerminateSequenceResponseAction().equals(action)) {
             LOG.fine("Changing requestor role from " + message.get(Message.REQUESTOR_ROLE)
                      + " to false");
@@ -473,4 +474,4 @@ public class RMSoapInterceptor extends A
         }
         return null;
     }
-}
\ No newline at end of file
+}