Tag Archives: tomcat

Tomcat – Defining Manager-GUI role


To access the host manager in Tomcat, you need to define the manager-gui rule as below:

<!–
<role rolename=”tomcat”/>
<role rolename=”role1″/>
<user username=”tomcat” password=”tomcat” roles=”tomcat”/>
<user username=”both” password=”tomcat” roles=”tomcat,role1″/>
<user username=”role1″ password=”tomcat” roles=”role1″/>
–>
<role rolename=”manager”/>
<role rolename=”admin”/>
<role rolename=”manager-gui”/>
<user username=”tomcat” password=”password” roles=”admin,manager”/>
<user username=”tomcat” password=”password” roles=”manager-gui”/>
</tomcat-users>

Advertisements