HttpClient commons-httpclient Digest Authentication.
Posted
by Dave
on Stack Overflow
See other posts from Stack Overflow
or by Dave
Published on 2010-04-20T13:41:22Z
Indexed on
2010/04/20
13:43 UTC
Read the original article
Hit count: 1022
I am getting this error from a PostMethod using commons-httpclient
No credentials available for DIGEST 'realm'@localhost
and a 401 back from the server.
I followed the example from this post java client program to send digest authentication request using HttpClient API (2)
However, it still seems to fail.
I am trying to connect to a XML-RPC service, we use digest authentication. I tried using the Apache xmlrpc library but it seems to not support digest authentication.
Any ideas?
Thanks.
© Stack Overflow or respective owner