Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5269

the ws-security.encryption.username property not been taken into account when using XKMS service on CXF client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.7.7
    • Invalid
    • XKMS
    • None
    • Win 7, Java 7

    • Unknown

    Description

      the properties configured with spring for CXF client looks like:

      <jaxws:properties>
      <entry key="ws-security.signature.crypto" value-ref="xkmsCryptoProvider" />
      <entry key="ws-security.signature.username" value="myclientkey" />
      <entry key="ws-security.encryption.crypto" value-ref="xkmsCryptoProvider" />
      <entry key="ws-security.encryption.username" value="abc"/>
      ......
      </jaxws:properties>

      no mattar what value set on the ws-security.encryption.username property, e.g.
      1) DN name: CN=www.service.com, OU=IT Department, O=Sample Web Service Provider, L=Buffalo, ST=New York, C=US
      2) serviceQName: "

      {http://services.abc.com/MyService}

      ABCService"
      3) any string
      4) even remove this property.

      No any exception thrown and the invocation to the service will be successful. the expected behavior is the exception will be thrown when this property not set or its value is not correct.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            xldai Xilai Dai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: