This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
java.io.IOException: Server returned HTTP response code: 401 for URL:
granularity of http connection
HTTPS Client Authentication
Only [auth-method] FORM use session tracking ?
X11GraphicsEnvironment