I don't think we wanna ship a file that has a default user for admin and manager roles.

most folks leave this realm in their server.xml, and the manager app enabled, so this would create future complaints

-1 on the tomcat-users.xml change

Filip

[EMAIL PROTECTED] wrote:
Author: markt
Date: Thu Jan 10 13:53:14 2008
New Revision: 610946

URL: http://svn.apache.org/viewvc?rev=610946&view=rev
Log:
Fix bug 43344. Correct typo. Patch provided by Tim Nowaczyk.

Modified:
    tomcat/trunk/conf/tomcat-users.xml
    tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp

Modified: tomcat/trunk/conf/tomcat-users.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/conf/tomcat-users.xml?rev=610946&r1=610945&r2=610946&view=diff
==============================================================================
--- tomcat/trunk/conf/tomcat-users.xml (original)
+++ tomcat/trunk/conf/tomcat-users.xml Thu Jan 10 13:53:14 2008
@@ -16,11 +16,11 @@
   limitations under the License.
 -->
 <tomcat-users>
-<!--
+  <role rolename="manager"/>
   <role rolename="tomcat"/>
+  <role rolename="admin"/>
   <role rolename="role1"/>
+  <user username="both" password="tomcat" roles="tomcat,role1,manager,admin"/>
   <user username="tomcat" password="tomcat" roles="tomcat"/>
-  <user username="both" password="tomcat" roles="tomcat,role1"/>
   <user username="role1" password="tomcat" roles="role1"/>
--->
 </tomcat-users>

Modified: tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp?rev=610946&r1=610945&r2=610946&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/tagplugin/if.jsp Thu Jan 10 13:53:14 2008
@@ -25,7 +25,7 @@
     </br>
     <a href="notes.html">Plugin Introductory Notes<font <font 
color="#0000FF"></a>
     <br/>
-    <a href="howto.html">Brief Instructions for Wrieting Plugins<font 
color="#0000FF"></a>
+    <a href="howto.html">Brief Instructions for Writing Plugins<font 
color="#0000FF"></a>
     <br/> <br/>
     <hr>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to