File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes JDBCRealm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBCRealm" Watch "JDBCRealm" New topic
Author

JDBCRealm

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hi, does anyone can give me a primer of digesting password which is stored into database. I know how to retrieve info from database using Tomcat, I can on my own digest password by - java.security.MessageDigest, put the algorithm type in the constructor, call the update() method of MassageDigest instance supplied with byte array, and retrieve a digested byte array calling digest() method, and store it to the database. But HOW to do this digestion using JDBCRealm, so I could retrieve the credentials from DB with Tomcat, what are the steps need to be performed,? I would really appreciate for sample of doing this steps. I didn't find any clear primer, so I would really appreciate... Thanks...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBCRealm
 
Similar Threads
Tomcat using same user+password
Tomcat JDBC Realm using MS Access DB
Tomcat JDBC Realm using MS Access DB
Authentication/Authorization
Custom digest algorithm possible with extended JDBCRealm?