This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Security and the fly likes Not able to implement the BASIC Authentication 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 » Engineering » Security
Bookmark "Not able to implement the BASIC Authentication" Watch "Not able to implement the BASIC Authentication" New topic
Author

Not able to implement the BASIC Authentication

upanshu vaid
Ranch Hand

Joined: Sep 07, 2012
Posts: 73

Hi, Below is the servlet code


XML Code




tomcat-users.xml file code


when I am running the servlet I am not the getting the pop up window asking username and password.
Any suggestion on this.
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Not able to implement the BASIC Authentication
 
Similar Threads
security-constraint not working
login-config not working
username and password are not getting verified by tomcat
Problem with security constraints while doing authentication & authorization
login-config not prompting for user id and password