|
发表于 2005-8-7 10:40:53
|
显示全部楼层
${CATALINA_HOME}/conf/tomcat-users.xml的内容如下:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="system" password="" roles="admin,manager"/>
</tomcat-users> |
|