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
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: 2413
Search for "digest" in is also relevant.
subject: Tomcat datasourceRealm with md5 passwords
It's not a secret anymore!