[
https://issues.apache.org/jira/browse/HTTPCLIENT-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685450#comment-16685450
]
Bo Xi commented on HTTPCLIENT-1272:
-----------------------------------
I have a similar issue where the proxy server supports NTLM authentication, but
our code only provides UsernamePasswordCrednentials. And we got the following
warning:
WARN [main] org.apache.http.impl.auth.HttpAuthenticator
(HttpAuthenticator.java:207) - NTLM authentication error: Credentials cannot be
used for NTLM authentication: org.apache.http.auth.UsernamePasswordCredentials
> HttpClient does not retry failed PROXY authentication when multiple
> challenges are present
> ------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1272
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1272
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 4.2.2
> Reporter: Daz DeBoer
> Priority: Major
>
> Similar to HTTPCLIENT-1107, but for Proxy authentication. It appears that
> subsequent authentication schemes are not attempted if an earlier scheme
> fails.
> In our case, a proxy supports Negotiate, NTLM and BASIC authentication. When
> NTML authentication fails due to the wrong credentials being supplied, BASIC
> authentication is never attempted against the proxy.
> I am a Gradle core developer, and we use HttpClient internally for dependency
> resolution. This issue was reported by one of our users.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]