Bug 51561

Summary: Missing tomcat-coyote.jar from classpath requirement on Realm HowTo page, digested passwords section
Product: Tomcat 7 Reporter: vizoere
Component: DocumentationAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: http://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html

Description vizoere 2011-07-26 16:48:01 UTC
It appears that starting in version 7.0.16, HexUtils.class exists in tomcat-coyote.jar instead of its previous home, catalina.jar.

On page:  http://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html

Under Common Features > Digested Passwords
Current text:

To use either of the above techniques, the following jar files will need to be on your class path to make the RealmBase class available: 


Needs to be updated to also include:
Comment 1 Konstantin Kolinko 2011-07-26 23:39:15 UTC
or move HexUtils into tomcat-util.jar

If making any change, note, that HexUtils is referenced by SecurityClassLoad (r1144031).

Apparently this was caused by removing duplicate HexUtils class in r1132702. Sorry for that.
Comment 2 Mark Thomas 2011-07-27 06:49:54 UTC
Or use digest.sh|bat which handles this correctly. I'll update the docs to reference digest.bat|sh.
Comment 3 Mark Thomas 2011-07-27 09:13:49 UTC
This has been fixed in 7.0.x and will be included in 7.0.20 onwards.