Configuring Manager Application Access
First , Define the User rolls , Users , Passwords and assign the defined roles to users. For this , we need to use the below file.
$CATALINA_BASE/conf/tomcat-users.xml
Default, this section is in comment.
Properly defined configuration will be like below.
You can find the role names in the
web.xml
file of the Manager web application. The available roles are:- manager-gui — Access to the HTML interface.
- manager-status — Access to the "Server Status" page only.
- manager-script — Access to the tools-friendly plain text interface that is described in this document, and to the "Server Status" page.
- manager-jmx — Access to JMX proxy interface and to the "Server Status" page.
Add the below setting to server.xml under "" tag.
No comments:
Post a Comment