9 月 202014
 

manager-gui – allows access to the HTML GUI and the status pages
manager-script – allows access to the text interface and the status pages
manager-jmx – allows access to the JMX proxy and the status pages
manager-status – allows access to the status pages only

 <role rolename="manager-gui"/>
 <user username="tomcat" password="s3cret" roles="manager-gui"/>

admin-gui – allows access to the HTML GUI
admin-script – allows access to the text interface

 <role rolename="admin-gui"/>
 <user username="tomcat" password="s3cret" roles="admin-gui"/>

同时具备所有权限

 <role rolename="tomcat"/>
 <user username="tomcat" password="tom123" roles="manager-gui,admin-gui"/>