[
https://issues.apache.org/jira/browse/HTTPCLIENT-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481296#comment-17481296
]
can commented on HTTPCLIENT-2199:
---------------------------------
Ok now I understood what was wrong :)
If I use dependency => 'com.github.ok2c.hc5.android:httpclient-android:0.1.1',
then NTLM is not working.
But if I change it as => 'org.apache.httpcomponents.client5:httpclient5:5.1.2'
(and I don't need to change anything in the source code, I didn't know that),
NTLM is working.
Thanks for your help [~olegk]
> NTLM auth is failing while processing 2nd challenge response
> ------------------------------------------------------------
>
> Key: HTTPCLIENT-2199
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2199
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 5.0.1
> Reporter: can
> Priority: Major
> Attachments: 150694519-4216bb91-ad43-40d1-ba8e-1818af685560.png,
> NoRequestAfter2ndResponse.txt, RequestAfter2ndResponse.txt
>
>
> In NTLMScheme class (NTLMScheme.java), processChallenge function is trying to
> read challenge using getValue() function.
> But it is always returning null.
> Challenge is actually stored inside params and can be accessed by getParams()
> function.
> see [^150694519-4216bb91-ad43-40d1-ba8e-1818af685560.png]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]