File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat datasourceRealm with md5 passwords 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 "Tomcat datasourceRealm with md5 passwords" Watch "Tomcat datasourceRealm with md5 passwords" New topic

Tomcat datasourceRealm with md5 passwords

Jeroen Nouws

Joined: Jul 14, 2011
Posts: 17
Hey everyone,

I have a webapp with a datasource realm for loging in,
problem is that the passwords are stored as clear text at this time and i want to have them as md5 or sha.
how do i configure my context.xml file then for this digested passwords?

thank you for checking this
Tim Moores

Joined: Sep 21, 2011
Posts: 2408
Search for "digest" in is also relevant.
I agree. Here's the link:
subject: Tomcat datasourceRealm with md5 passwords
Similar Threads
MD5 and Jetty webserver security?
can't login with correct username and password
security constraint
Help in database connections
Encrypting Password in Database