==============================美妙的分割线=================================
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under _disibledevent=>
<role rolename="role1"/>
<role rolename="admin"/>
<role rolename="manager"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="admin" password="admin" roles="admin,manager"/>
</tomcat-users>
==============================美妙的分割线=================================
原来红色的这部分的内容是解释性的内容,去掉解释符号,添加上就可以了。
如果是7.x的版本要加入
<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui"/>
没有尝试过,放在这里,备胎!!!!
最新评论