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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s