[
https://issues.apache.org/jira/browse/CAMEL-18355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575612#comment-17575612
]
Oliver Holzmann commented on CAMEL-18355:
-----------------------------------------
I think
* {{ProxyHttpClientConfigurer}} needs to set the proxy credentials for the auth
scope of the proxy {{HttpHost}} instead of {{AuthScope.ANY}}
* and it must add new credential to a potentially existing
{{credentialsProvider}} of {{clientBuilder}}; currently
{{ProxyHttpClientConfigurer}} overwrites the {{credentialsProvider}} of
{{clientBuilder}} provided by {{BasicAuthenticationHttpClientConfigurer}}
> HTTP component overwrites basic authentication credentials with proxy
> authentication
> -------------------------------------------------------------------------------------
>
> Key: CAMEL-18355
> URL: https://issues.apache.org/jira/browse/CAMEL-18355
> Project: Camel
> Issue Type: Bug
> Components: camel-http
> Affects Versions: 3.18.0
> Reporter: Oliver Holzmann
> Priority: Major
>
> We use HTTP endpoints with basic authentication (params {{authUsername}},
> {{authPassword}}) via a proxy that requires proxy authentication (params
> {{proxyAuthUsername}}, {{proxyAuthPassword}}).
> But basic authentication fails. In debug logs we see that basic
> authentication header is using proxy credentials.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)