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

The authSupplier property is ignored in case of OSGi http conduit configuration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.12, 3.2.0
    • Fix Version/s: 3.1.14, 3.2.1
    • Component/s: Transports
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Given a org.apache.cxf.http.conduits-abc.cfg which deployed into karaf OSGi container

      url = .*
      
      client.ConnectionTimeout = 50000
      client.ReceiveTimeout = 50000
      authSupplier = org.foo.auth.CustomAuthSupplier
      

      When deploy a CXF WS client, "No Auth Supplier configured for Conduit" is printed from the DEBUG log

      2017-09-18T14:50:03,402 | DEBUG | pool-43-thread-1 | e.cxf.transport.http.HTTPConduit  947 | 58 - org.apache.cxf.cxf-rt-transports-http - 3.1.12 | Conduit '{http://www.talend.org/service/}DemoServicePort.http-conduit' has been (re)configured for plain http.
      2017-09-18T14:50:03,402 | DEBUG | pool-43-thread-1 | e.cxf.transport.http.HTTPConduit  401 | 58 - org.apache.cxf.cxf-rt-transports-http - 3.1.12 | No Trust Decider configured for Conduit '{http://www.talend.org/service/}DemoServicePort.http-conduit'
      2017-09-18T14:50:03,402 | DEBUG | pool-43-thread-1 | e.cxf.transport.http.HTTPConduit  414 | 58 - org.apache.cxf.cxf-rt-transports-http - 3.1.12 | No Auth Supplier configured for Conduit '{http://www.talend.org/service/}DemoServicePort.http-conduit'
      2017-09-18T14:50:03,403 | DEBUG | pool-43-thread-1 | e.cxf.transport.http.HTTPConduit  433 | 58 - org.apache.cxf.cxf-rt-transports-http - 3.1.12 | Conduit '{http://www.talend.org/service/}DemoServicePort.http-conduit' has been configured for plain http.
      

      The org.apache.cxf.transport.http.osgi.HttpConduitConfigApplier class has to be enhanced to support "authSupplier" property from OSGi CM configuration.

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Yue Fang
              Reporter:
              xldai Xilai Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: