tomcat-users.xml配置Manager登陆用户
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tomcat-users.xml配置Manager登陆用户相关的知识,希望对你有一定的参考价值。
添加用来登陆tomcat-manager的用户
<tomcat-users> <!-- 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. --> <role rolename="tomcat"/> <role rolename="manager-gui"/> <role rolename="manager-script"/> <user username="manager" password="manager" roles="manager-gui,manager-script"/> </tomcat-users>
以上是关于tomcat-users.xml配置Manager登陆用户的主要内容,如果未能解决你的问题,请参考以下文章
tomcat8配置了tomcat-users.xml,报403 Access Denied