apache-tomcat/apache-tomcat-7.0.9-tomcat-users_xml-admin.patch

19 lines
667 B
Diff
Raw Permalink Normal View History

--- conf/tomcat-users.xml 2011-03-02 00:56:49.000000000 +0100
+++ conf/tomcat-users.xml-gil 2011-03-02 01:07:08.000000000 +0100
@@ -26,11 +26,15 @@
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
+ <!--.. add password ..-->
<!--
+ <role rolename="manager"/>
<role rolename="tomcat"/>
+ <role rolename="admin"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
+ <user username="admin" password=".." roles="admin,manager"/>
<user username="role1" password="tomcat" roles="role1"/>
-->