Tomcat 用户与角色

 NOTE:  By default, no user is included in the "manager-gui" role required
  to operate the "/manager/html" web application.  If you wish to use this app,
  you must define such a user - the username and password are arbitrary.


  NOTE:  The sample user and role entries below are wrapped in a comment
  and thus are ignored when reading this file. Do not forget to remove

   that surrounds them.



Note that for Tomcat 7 onwards, the roles required to use the host manager application were changed from the single admin role to the following two roles. You will need to assign the role(s) required for the functionality you wish to access.

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


$CATALINA_HOME/conf/tomcat-users.xml 定义了Tomcat 控制台用户和角色

你可能感兴趣的:(Server)