You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2015/10/10 12:32:05 UTC

[jira] [Commented] (HTTPCLIENT-1687) ClientPreemptiveDigestAuthentication example fails

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

Oleg Kalnichevski commented on HTTPCLIENT-1687:
-----------------------------------------------

Joseph,
We are not continuously testing example code. Examples are provided as a reference material, not as applications. If you submit a patch with the changes to ClientPreemptiveDigestAuthentication I'll be happy to review and commit it. Otherwise I'll close the bug as invalid.

Oleg

> 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