If you have a DB or Elastic Search or some other service that is inside a network with a bastion host in front, this is how you can connect to it
Category: Security
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