码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-08-21 20:41:00      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:round   manage   word   hat   htm   roles   note   ignore   cat   

添加用来登陆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登陆用户

标签:round   manage   word   hat   htm   roles   note   ignore   cat   

原文地址:http://www.cnblogs.com/cpuz/p/7406196.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!