配置Tomcat密码
23:25 | Author: Hui Li 李辉

在%tomact%conf/tomact_user.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="both"   password="tomcat"   roles="tomcat,role1"/>  
      <user   username="role1"   password="tomcat"   roles="role1"/>  
  后面加上一条就可以了  
      <user   username="admin"   password="admin"   roles="admin,manager"/>  
  </tomcat-users>  

This entry was posted on 23:25 and is filed under . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

0 评论: