I try to execute this code,
*************************************************
HttpClient client = new HttpClient();
client.getState().setCredentials( null,null, new
UsernamePasswordCredentials("user", "pwd"));
GetMethod get = new GetMethod("https://website/doc/index.php");
get.setDoAuthentication( true );
try {
int status = client.executeMethod( get );
System.out.println(status + "\n" + get.getResponseBodyAsString());
}catch (java.io.IOException e)
{
System.out.println(e);
}
finally {
get.releaseConnection();
}
***********************************************
But i have "java.net.ConnectException: Connection refused"
I have apache2 with mod_auth_ldap.What is the problem???? Some body have
some idea?
THANKS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]