tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1151395 - in /tomcat/trunk/webapps/docs: changelog.xml realm-howto.xml
Date Wed, 27 Jul 2011 09:13:37 GMT
Author: markt
Date: Wed Jul 27 09:13:36 2011
New Revision: 1151395

Recommend the use of digest.[bat|sh] to generate digests rather than calling RealmBase directly.


Modified: tomcat/trunk/webapps/docs/changelog.xml
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Jul 27 09:13:36 2011
@@ -158,6 +158,11 @@
         the implications of setting the path attribute on a Context element in
         server.xml. (markt)
+      <fix>
+        <bug>51561</bug>: Update the Realm page within the documentation web
+        application to recommend the use of digest.[bat|sh] to generate digests
+        rather than calling RealmBase directly. (markt) 
+      </fix>
   <subsection name="Other">

Modified: tomcat/trunk/webapps/docs/realm-howto.xml
--- tomcat/trunk/webapps/docs/realm-howto.xml (original)
+++ tomcat/trunk/webapps/docs/realm-howto.xml Wed Jul 27 09:13:36 2011
@@ -196,9 +196,7 @@ techniques are supported:</p>
     method will return the digested password.</li>
 <li>If you want to execute a command line utility to calculate the digested
     password, simply execute
-java org.apache.catalina.realm.RealmBase \
-    -a {algorithm} {cleartext-password}
+<source>CATALINA_HOME/bin/digest.[bat|sh] -a {algorithm} {cleartext-password}
     and the digested version of this cleartext password will be returned to
     standard output.</li>
@@ -215,19 +213,8 @@ java org.apache.catalina.realm.RealmBase
    not specified in web.xml, the default value of <code>Authentication
    required</code> is used.</p>
-<p>To use either of the above techniques, the following jar files will need
-to be on your class path to make the <code>RealmBase</code> class available:
-  <li>$CATALINA_HOME/bin/tomcat-juli.jar</li>
-  <li>$CATALINA_HOME/lib/catalina.jar</li>
-  <li>$CATALINA_HOME/lib/tomcat-util.jar</li>
 <p>Non-ASCII usernames and/or passwords are supported using
-<source>java org.apache.catalina.realm.RealmBase \
-    -a {algorithm} -e {encoding} {input}
+<source>CATALINA_HOME/bin/digest.[bat|sh] -a {algorithm} -e {encoding} {input}
 but care is required to ensure that the non-ASCII input is
 correctly passed to the digester.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message