Add basic auth in Tomcat 8.5

Open tomcat-users.xml with the following command Enter the following content inside the <tomcat-users> </tomcat-users> tag Now open the web.xml file inside your application with the following command and enter the following content inside the <web-app> </web-app> tag Restart tomcat with the following command The basic auth should now be set. Additional info: If you are… Continue reading Add basic auth in Tomcat 8.5