cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xilai Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7509) The authSupplier property is ignored in case of OSGi http conduit configuration
Date Tue, 19 Sep 2017 08:12:00 GMT

    [ https://issues.apache.org/jira/browse/CXF-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171266#comment-16171266
] 

Xilai Dai commented on CXF-7509:
--------------------------------

Opened a PR https://github.com/apache/cxf/pull/314, the idea is user has to make a fragment
bundle of cxf-rt-transports-http bundle, which impl his custom auth class.

> 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
>
> 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)

Mime
View raw message