File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes URL Authentication 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 » Java in General
Bookmark "URL Authentication" Watch "URL Authentication" New topic

URL Authentication

Avinash venna

Joined: Jun 10, 2010
Posts: 17
Hi Guys,

I have a problem.

I am using xmlrpc client for accessing the API of a particular product and for using the url "" its asking for authentication. If i use "http://<username>:<password>" its throwing an error "Unauthorized".

One more thing is before using this URL i need to cross the proxy and for that i am using httpclient and i am successful.

Please someone help me how to solve this issue.

Avinash Venna.
It is sorta covered in the JavaRanch Style Guide.
subject: URL Authentication
Similar Threads
Not able to access Secured Web service:
Appending Dynamic value to src attribute of the html:img tag
Jboss SSL
making url a variable in meta tag
Redirect or DNS alias?