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

UsernameToken does not work, upgrade spring-ws-security dependencies

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.7
    • Fix Version/s: None
    • Component/s: Security, XML
    • Labels:
      None
    • Environment:
      Ubuntu 18.04.2 LTS

      Description

      I have SOAP client in a service built with spring-boot and spring-ws..

      Client works without Wss4j but does not send anything with UsernameToken Wss4jSecurityInterceptor.

      Seems to start sending message with soap-security with newer dependencies:

        <groupId>org.springframework.ws</groupId>
        <artifactId>spring-ws-security</artifactId>
        <version>${spring-ws.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.apache.wss4j</groupId>
            <artifactId>wss4j-ws-security-dom</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.apache.santuario</groupId>
            <artifactId>xmlsec</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      
      <dependency>
        <groupId>org.apache.wss4j</groupId>
        <artifactId>wss4j-ws-security-dom</artifactId>
        <version>2.2.3</version>
      </dependency>
      
      <dependency>
        <groupId>org.apache.santuario</groupId>
        <artifactId>xmlsec</artifactId>
        <version>2.1.3</version>
      </dependency>
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jpoikela Jani
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: