wood burning stoves 2.0*
The moose likes Servlets and the fly likes Need help for Authenticating a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need help for Authenticating a servlet" Watch "Need help for Authenticating a servlet" New topic
Author

Need help for Authenticating a servlet

lokesh reddy
Ranch Hand

Joined: Sep 15, 2000
Posts: 66
Hi guys,
I have written a servlet, and applied BASIC authentication on it, so whenever any one tries to access it, it asks the username and password to authenticate the users.
Now, the problem is, i would like to access the servlet using URLConnection class, and i am not able to know how to pass the username and password to servlet using URLConnection.
Please help me.
Thanks in Advance.
Loke.
 
wood burning stoves
 
subject: Need help for Authenticating a servlet
 
Similar Threads
Using URLConnection in JDK 1.3
getting problem with accessing the web services
I can't see the SQL stats.
basic authentication
POST method