I was looking at the source code for org.apache.catalina.realm.RealmBase and see that it can handle salted SHA for passwords. Does anyone have some example code that demonstrates generating the SSHA value: generating the salt, doing the digest, and outputting the value so that I could put it in my Tomcat-Users.xml file? I'm using Tomcat 7, so it looks like the CredentialHandler which provides a mutate() method wouldn't be available.

--
George Sexton
*MH Software, Inc.*
Voice: 303 438 9585
http://www.connectdaily.com

Reply via email to