Excellent Roland... that was spot on. You've opened a door for me that I've
been trying to unlock (without success) for ages! Finally I'm getting results
in querying .NET from java. Now I'm hoping to do the same from a servlet.
Many thanks
/j-p.
Quoting Roland Weber <[EMAIL PROTECTED]>:
> Hello John-Paul,
>
> > header - << "WWW-Authenticate: Digest realm="[EMAIL PROTECTED]",
>
> > 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-------------------------------------------------------------------
Open Invitation for Contemporary Artists http://www.artprocess.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]