You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2014/06/10 12:16:01 UTC

svn commit: r1601598 - in /tomcat/tc7.0.x/trunk: res/tomcat.nsi webapps/docs/changelog.xml webapps/docs/manager-howto.xml

Author: markt
Date: Tue Jun 10 10:16:01 2014
New Revision: 1601598

URL: http://svn.apache.org/r1601598
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56606
Ensure that the new attribute name username is used in the tomcat-users.xml examples rather than the old name of user.

Modified:
    tomcat/tc7.0.x/trunk/res/tomcat.nsi
    tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
    tomcat/tc7.0.x/trunk/webapps/docs/manager-howto.xml

Modified: tomcat/tc7.0.x/trunk/res/tomcat.nsi
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/tomcat.nsi?rev=1601598&r1=1601597&r2=1601598&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/res/tomcat.nsi (original)
+++ tomcat/tc7.0.x/trunk/res/tomcat.nsi Tue Jun 10 10:16:01 2014
@@ -936,7 +936,7 @@ Function configure
     Push $TomcatAdminRoles
     Call xmlEscape
     Pop $R3
-    StrCpy $R5 '<user name="$R1" password="$R2" roles="$R3" />$\r$\n'
+    StrCpy $R5 '<user username="$R1" password="$R2" roles="$R3" />$\r$\n'
     DetailPrint 'Admin user added: "$TomcatAdminUsername"'
   ${EndIf}
 

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1601598&r1=1601597&r2=1601598&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Tue Jun 10 10:16:01 2014
@@ -122,6 +122,16 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Web applications">
+    <changelog>
+      <fix>
+        <bug>56606</bug>: Ensure that the new attribute name
+        <code>username</code> is used in the <code>tomcat-users.xml</code>
+        examples rather than the old attribute name of <code>user</code>.
+        (markt)
+      </fix>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 7.0.54 (violetagg)" rtext="released 2014-05-22">
   <subsection name="Catalina">

Modified: tomcat/tc7.0.x/trunk/webapps/docs/manager-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/manager-howto.xml?rev=1601598&r1=1601597&r2=1601598&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/manager-howto.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/manager-howto.xml Tue Jun 10 10:16:01 2014
@@ -173,7 +173,7 @@ Exactly how the usernames/passwords are 
     edited with any text editor.  This file contains an XML
     <code>&lt;user&gt;</code> for each individual user, which might
     look something like this:
-<source><![CDATA[<user name="craigmcc" password="secret" roles="standard,manager-script" />]]></source>
+<source><![CDATA[<user username="craigmcc" password="secret" roles="standard,manager-script" />]]></source>
     which defines the username and password used by this individual to
     log on, and the role names he or she is associated with.  You can
     add the <strong>manager-script</strong> role to the comma-delimited



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org