|
-
April 14th, 2009, 11:33 AM
#1
NTLM Authentication; cannot call aspx page from java
HttpClient client = new HttpClient();
client.getState().setCredentials(AuthScope.ANY,
new NTCredentials(userName, pwd, host, domain) );
System.out.println(httpServiceURL);
method = new GetMethod(httpServiceURL);
method.setDoAuthentication( true );
int status = client.executeMethod(method);
System.out.println(status + "\n" + method.getResponseBodyAsString());
Any help is greatly appreciated. Thanks,
Edit: This is not NTLM, but Integrated windows security.
Last edited by getstarted; April 14th, 2009 at 05:39 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|