tomcat7

cnf/tomcat-users

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>

<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>

<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="tomcat3" password="tomcat3" roles="manager-gui"/>
<user username="tomcat4" password="tomcat4" roles="admin-gui"/>
</tomcat-users>

你可能感兴趣的:(tomcat7)