tomcat user configuration example

tomcat-users.xml

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="manager"/>
  <role rolename="tomcat"/>
  <role rolename="admin"/>
  <user username="admin" password="admin" roles="admin,tomcat,manager"/>
</tomcat-users>