my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
jQuery in Action, 2nd edition
 
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