Security In a Java Web Application – Tutorial 02 (Tomcat + Basic Authentication)

Security In a Java Web Application – Tutorial 02  (Tomcat + Basic Authentication)


What is a tutorial covering Java app. BASIC authentication on a tomcat 7 web server? How to secure a java servlet running on the tomcat web server? What is the web.xml login-config tag? What is the web.xml security-constraint tag? How to secure a urt pattern in a java web application? What is the web.xml auth-constraint tag? What is the tomcat-users.xml file? How to add a users and roles on a tomcat web server?

4 thoughts on “Security In a Java Web Application – Tutorial 02 (Tomcat + Basic Authentication)”

  1. it worked fine at the beginning, but it wont work after deploying the app on tomcat, should i do sth more when i want to deploy the app ? please answer

Leave a Reply

Your email address will not be published. Required fields are marked *