Hi friends. I'm Kumudu Saranath Liyanage. This is my personal blog. I put everything which i think that will important for me on another day. So it is no need to search same thing two times in the internet for any more...
Tuesday, February 21, 2012
tomcat-users.xml sample.
The tomcat fresh copies doesn't has the admin and manager roles defined in the tomcat-users.xml file. So i put this sample xml for future use. ;)
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="admin"/>
<role rolename="manager"/>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="admin" password="secret" roles="manager,admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
</tomcat-users>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment