1 ) Secure the application resources using the descriptor (web.xml) <!DOCTYPE web-app PUBLIC “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN” “http://java.sun.com/dtd/web-app_2_3.dtd”>
Continue readingTag: basic authentication
BASIC Authentication with Apache
Create user.txt with the username and password separated by colon user.txt testuser:testuser Then use the htpasswd to encrypt the password
Continue reading