当前位置: 代码迷 >> Web前端 >> tomcat配备用户
  详细解决方案

tomcat配备用户

热度:140   发布时间:2012-07-02 17:46:22.0
tomcat配置用户
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="admin" password="admin" roles="manager,admin"/>

?tomcat-users.xml

?

<?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="manager"/> <user username="tomcat" password="123456" roles="manager"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> </tomcat-users>

  相关解决方案