hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1687) ClientPreemptiveDigestAuthentication example fails
Date Sat, 10 Oct 2015 10:32:05 GMT

    [ 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:

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.


> 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

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message