[ https://issues.apache.org/jira/browse/CXF-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171341#comment-16171341 ]
Xilai Dai commented on CXF-7509: -------------------------------- Thanks for review, Freeman > The authSupplier property is ignored in case of OSGi http conduit > configuration > ------------------------------------------------------------------------------- > > Key: CXF-7509 > URL: https://issues.apache.org/jira/browse/CXF-7509 > Project: CXF > Issue Type: Bug > Components: Transports > Affects Versions: 3.1.12, 3.2.0 > Reporter: Xilai Dai > Assignee: Freeman Fang > Fix For: 3.1.14, 3.2.1 > > > Given a org.apache.cxf.http.conduits-abc.cfg which deployed into karaf OSGi > container > {code} > url = .* > client.ConnectionTimeout = 50000 > client.ReceiveTimeout = 50000 > authSupplier = org.foo.auth.CustomAuthSupplier > {code} > When deploy a CXF WS client, "No Auth Supplier configured for Conduit" is > printed from the DEBUG log > {code} > 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. > {code} > The org.apache.cxf.transport.http.osgi.HttpConduitConfigApplier class has to > be enhanced to support "authSupplier" property from OSGi CM configuration. -- This message was sent by Atlassian JIRA (v6.4.14#64029)