Sunday, November 27, 2005

tomcat users

Man have I stubled on this one about a hundred times.

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

<tomcat-users>

<role rolename="manager"/>

<role rolename="tomcat"/>

<role rolename="role1"/>

<user username="admin" password="secret" roles="manager"/>

<user username="tomcat" password="tomcat" roles="tomcat"/>

<user username="role1" password="tomcat" roles="role1"/>

<user username="both" password="tomcat" roles="tomcat,role1"/>

</tomcat-users>