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

Allow setting additional Security Provider at Exchange level

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.2, 3.1
    • None
    • None
    • Unknown

    Description

      This is a follow-up from the CXF dev list thread at http://cxf.547215.n5.nabble.com/On-BouncyCastle-installed-as-a-global-security-provider-td5746785.html and is meant to work with the WSS4J changes at https://issues.apache.org/jira/browse/WSS-507 .
      CXF could allow setting a custom (BouncyCastle) security provider in the message exchange; if provided, that would be set into WSS4J ThreadLocalSecurityProvider (when installed) just before running sensible interceptors, and cleaned up just afterwards.
      Attached is an initial patch; I'm going to figure out the other WS-Security interceptors that need to be modified if this approach is fine.

      Attachments

        1. initial-patch.diff
          4 kB
          Alessio Soldano

        Issue Links

          Activity

            People

              asoldano Alessio Soldano
              asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: