2017-07-14

TOMCAT - Users setup (tomcat-users.xml), in order to gain access to server status and manager

<?xml version="1.0" encoding="UTF-8"?>
<tomcat-users xmlns="http://tomcat.apache.org/xml"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
              version="1.0">


  <role rolename="tomcat"/>
  <role rolename="manager"/>
  <role rolename="admin"/>
<role rolename="manager-gui"/>
  <role rolename="admin-gui"/>

<user username="admin" password="PASSWORD_HERE" roles="admin,manager,tomcat,manager-gui,admin-gui"/>
 
  <user username="tomcat" password="PASSWORD_HERE" roles="tomcat,admin,manager"/>


</tomcat-users>

No comments:

Post a Comment