You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Joseph Percivall (JIRA)" <ji...@apache.org> on 2015/10/06 02:51:27 UTC
[jira] [Created] (HTTPCLIENT-1687)
ClientPreemptiveDigestAuthentication example fails
Joseph Percivall created HTTPCLIENT-1687:
--------------------------------------------
Summary: ClientPreemptiveDigestAuthentication example fails
Key: HTTPCLIENT-1687
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1687
Project: HttpComponents HttpClient
Issue Type: Bug
Reporter: Joseph Percivall
Priority: Trivial
I'm attempting to use HttpClient for digest authentication. The example provided ("ClientPreemptiveDigestAuthentication") currently doesn't work. This is because the website it hits changed it's authentication to a randomly generated nonce and changed it's realm. The new realm is "me@kennethreitz.com".
Also currently this is only example for digest authentication and I'm actually trying to do digest authentication by extracting the realm and nonce from the 401 response. An example for that kind of interaction would be a great example to add as I haven't been able to find a working example or tutorial online.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org