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

STSUtils: DRY refactoring and support Soap12 via property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.6, 2.6.3, 2.7
    • 2.5.7, 2.6.4, 2.7.1
    • None
    • None
    • Unknown

    Description

      Hi,

      Actually if STSClient uses direct location (not a WSDL) to communicate with STS, it is not very easy to switch binding to SOAP 1.2. Only the way is create STSClient in own interceptor, set the binding and put client in message property SecurityConstants.STS_CLIENT.
      Proposal: introduce boolean contextual message property to switch STSClient to SOAP 1.2 binding (ws-security.sts.client-soap12-binding).
      Additionally patch contains small DRY refactoring for STSUtils.getClient() methods.

      Regards,
      Andrei.

      Attachments

        1. STSSoap12.patch
          3 kB
          Andrei Shakirin

        Activity

          People

            coheigea Colm O hEigeartaigh
            ashakirin Andrei Shakirin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: