primitiveorigin
Programmer
Hi,
I have mysql working as the authentication mechanism with tomcat as per the usual tutorial examples, but I would like it to work with the encrypted password column in the main mysql.user table so that we can immediately take advantage of existing database users.
I have been trying to set the digest property in the realm section of the server.xml (digest="MD5" etc), but it seems that I can never get the supplied user password to match the stored encrypted password in MySQL.
I can only ever authenticate with stored plain text passwords in the database.
Has anyone ever had any luck with this?
Cheers, Jared.
I have mysql working as the authentication mechanism with tomcat as per the usual tutorial examples, but I would like it to work with the encrypted password column in the main mysql.user table so that we can immediately take advantage of existing database users.
I have been trying to set the digest property in the realm section of the server.xml (digest="MD5" etc), but it seems that I can never get the supplied user password to match the stored encrypted password in MySQL.
I can only ever authenticate with stored plain text passwords in the database.
Has anyone ever had any luck with this?
Cheers, Jared.