This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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