Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-416

Wss4jSecurityInterceptor loosing SOAPAction header

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.5.5
    • Component/s: Security
    • Labels:
      None

      Description

      When the Wss4jSecurityInterceptor replaces the AxiomMessage in the SoapMessage, if the original SoapMessage already had a SoapAction set, the value is lost.

      I believe, in the Wss4jSecurityInterceptor.replaceMessage() method, the following workaround should be done:

      // replace the Axiom message
      String tempSoapAction = soapMessage.getSoapAction();

      axiomMessage.setAxiomMessage(newMessage);

      soapMessage.setSoapAction(tempSoapAction);

        Activity

        bosakm Martin Bosak created issue -
        tareq Tareq Abedrabbo made changes -
        Field Original Value New Value
        Attachment SWS-416.patch [ 14609 ]
        arjen.poutsma Arjen Poutsma made changes -
        Fix Version/s 1.5.5 [ 11067 ]
        arjen.poutsma Arjen Poutsma made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            bosakm Martin Bosak
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: