File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes NTLM HttpAuthentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "NTLM HttpAuthentication" Watch "NTLM HttpAuthentication" New topic
Author

NTLM HttpAuthentication

rakesh sugirtharaj
Ranch Hand

Joined: Dec 16, 2007
Posts: 151
Hi,

I m trying to do Html extraction from web pages using commons httpclient. I managed to find a way to supply credentials to sites that require Basic Authentication but sites with NTLM authentication are throwing exception(InvalidCredentialsException). I tried to search about NTLM and found that there is a TYPE1,2,3 messages that are sent between client and server. But i dont understand it much. Can some one explain NTLM and also tell if there is a way to do this html extraction from sites that have this Authentication mechanism?


Cheers!
RSR
Deepti Bhatia
Greenhorn

Joined: Oct 19, 2006
Posts: 25
Hi Rakesh,

Am looking for basic authentication to connect to server. Can you tell me how did you do this?

Regards,
Deepti Bhatia
Greenhorn

Joined: Oct 19, 2006
Posts: 25
Got the solution.

Regards,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NTLM HttpAuthentication
 
Similar Threads
NTLM Authentication Problem
NTLM Authentication
Regarding NTLM Authentication
New article: Web Services Authentication with Axis 2
Setting WEb services credentials