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 Authenticating with http connection ? 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 "Authenticating with http connection ?" Watch "Authenticating with http connection ?" New topic
Author

Authenticating with http connection ?

Deepti Bhatia
Greenhorn

Joined: Oct 19, 2006
Posts: 25
Hi,

Am trying to connect to a server with httpurlconnection. The connection fails with HTTP 401 since authentication is required.

Could you tell how do we authenticate, cannot locate an API call for authentication.

Regards,
Deepti Bhatia
Greenhorn

Joined: Oct 19, 2006
Posts: 25
Found the solution to this.

Please close this topic.

Regards,
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Found the solution to this.


It will be nice if you can post the solution also here so that anyone else bumping into this topic will get the solution!


apigee, a better way to API!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Authenticating with http connection ?
 
Similar Threads
granularity of http connection
HTTPS Client Authentication
X11GraphicsEnvironment
java.io.IOException: Server returned HTTP response code: 401 for URL:
Only [auth-method] FORM use session tracking ?