Author: ay
Date: Wed Nov 20 08:42:04 2013
New Revision: 1543736

URL: http://svn.apache.org/r1543736
Log:
[CXF-5405] WS-RM with anonymous endpoint throwing security policy validation 
exception for SequenceAck

Modified:
    
cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java

Modified: 
cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java
URL: 
http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java?rev=1543736&r1=1543735&r2=1543736&view=diff
==============================================================================
--- 
cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java
 (original)
+++ 
cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RMSoapInterceptor.java
 Wed Nov 20 08:42:04 2013
@@ -434,9 +434,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)
             && 
!RM11Constants.INSTANCE.getCloseSequenceResponseAction().equals(action)) {
             LOG.fine("Changing requestor role from " + 
message.get(Message.REQUESTOR_ROLE)


Reply via email to