hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: [newbie] PostSOAP example: help to run
Date Wed, 11 Apr 2007 16:29:59 GMT
Hello John-Paul,

> header - << "WWW-Authenticate: Digest realm="ipMonitor@ipmonitor.com",

>         client.getState().setCredentials(
>             new AuthScope("10.11.42.25", 8080, "AuthScope.ANY_REALM"),
>             new UsernamePasswordCredentials("monitoradmin", "********"));

Try removing the quotes around "AuthScope.ANY_REALM".
If that doesn't work, set the realm to the value sent by the server.

hope that helps,
  Roland



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message