GlassFish 4 JDBCRealm Password Encryption Algorithm
When I create a JDBCRealm according to the attachment I can't log in with DIGEST authentication into the web app.
(part of the web.xml to force DIGEST authentication)
The passwords in the MySQL database are encrypted with the MySQL MD5() function.
But when I change the property "Password Encryption Algorithm" to "none" and store the passwords as plain text, the DIGEST authentication of the web app works and am able to login.
So DIGEST authentication only works now in GlassFish 4 with plain text passwords in the database.
How can I use MD5 encrypted passwords with the JDBCRealm and DIGEST authentication?