tomcat-users.xml配置Manager登陆用户

来源:互联网 发布:linux 编辑器 编辑:程序博客网 时间:2024/06/05 16:07
添加用来登陆tomcat-manager的用户

<tomcat-users><!--NOTE: By default, no user is included in the "manager-gui" role requiredto 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 commentand 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>

 

原创粉丝点击