Uploaded image for project: 'CXF-Fediz'
  1. CXF-Fediz
  2. FEDIZ-35

Allow to use a custom CXF bus for IdpSTSClient

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.1
    • 1.1.0, 1.0.3
    • IDP
    • None

    Description

      We are using Fediz IDP and CXF STS in an OSGi environment. Instead of using the war file of IDP we register the IDP filters via BundleActivator in order to add more customization and allow to dynamically exchange the login form.

      Therefore we also use the CXF version which is deployed in our OSGi container (CXF feature for Karaf). This works perfect until we deploy the STS part (or any other bundle that uses CXF).

      When we have two bundles which use CXF there is no default CXF bus per bundle. So it's unpredictable which bundles bus will become the default CXF bus in this setup.

      So my improvement request is to change the way how STSClientFilter retrieves the bus which is used to construct the IdpSTSClient instance. One possible solution for this would be to introduce a new field which contains the bus which should be used and to default to BusFactory#getDefaultBus if no other bus is set.

      Attachments

        1. set-cxf-bus-on-stsclientfilter.patch
          1 kB
          Peter Schyma
        2. set-cxf-bus-on-idpservlet.patch
          2 kB
          Peter Schyma

        Activity

          People

            coheigea Colm O hEigeartaigh
            pschyma Peter Schyma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: