Error in doSenderAction call in WSS4JOutInterceptor 
----------------------------------------------------

                 Key: CXF-530
                 URL: https://issues.apache.org/jira/browse/CXF-530
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
            Reporter: Colm O hEigeartaigh
         Attachments: wssecurity.patch

In org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor;

The following is a bug, as the last argument will always be true.

doSenderAction(doAction, doc, reqData, actions, !Boolean.TRUE
                    .equals(org.apache.cxf.message.Message.REQUESTOR_ROLE));

Instead this should be;

doSenderAction(doAction, doc, reqData, actions, !Boolean.TRUE
                    .equals(getProperty(mc, 
org.apache.cxf.message.Message.REQUESTOR_ROLE)));

A patch is included for this, as well as a number of other small fixes. A test 
for direct reference is also added.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to