I have finally figured out how to get
JDBC Realm working
But I want my DataBase to store the passwords encrypted.
(perferable in MD5 hash)
My Web.xml is
In the Jetty.xml I have
As you can see the second <item> is for my JDBC Realm.
The <Set name = config> points to etc/jdbcRealm.properties.
However I don't know how to store the passwords encryptedly.
Their is a realm.properties file that has
But this file is for the first <item> and it applies to HashUserRealms.
What I want to know is how my database can store MD5 hashed password's and then when j_security verifies the login Form have it correctly verify the MD5 has in the database to the j_username , and j_password in the database.