启动tomcat,进入 http://localhost:8080/,会看到如下三个按钮:
Server Status:查看服务器状态

Manager App:管理服务器上部署的应用,如将WARfile文件部署到tomcat中,还可以启用或停止项目

Host Manager:查看主机信息

进入管理页面可以看到tomcat的版本信息

在默认情况下,tomcat的配置文件里没有角色,因为在tomcat的conf文件夹下的tomcat-users.xml文件中,用户是被注释掉的。
<tomcat-users xmlns="http://tomcat.apache.org/xml"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
              version="1.0">
<!--
  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
  <user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
  <user username="role1" password="<must-be-changed>" roles="role1"/>
-->
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
  <user username="admin" password="admin" roles="manager-gui,admin-gui"/>
</tomcat-users>

备注:manager-gui角色对应Manager App权限,admin-gui角色对应Host Manager权限