I use the Commons Codec library
(http://jakarta.apache.org/commons/codec/). It's really simple to do
what you want, and there are examples on the site.
Digby
Khawaja Shams wrote:
Hello,
We are using the jdbc realm for authentication against a MySQL
instance. The passwords are stored in an
t"
To
"Tomcat Users List"
cc
Subject
[***Probable Spam***] Allowing Users to change their passwords
Hello,
We are using the jdbc realm for authentication against a MySQL
instance. The passwords are stored in an MD5 digest format within our
database. I would like to allow
}
catch (NoSuchAlgorithmException e) {
}
return signature;
}
}
The hexDigit converts the bytes into a hex string, and I just call the
generateSignature wherever I need a key.
Hope this helps.
Thanks,
Johnny
"Khawaja Shams&quo
Hello,
We are using the jdbc realm for authentication against a MySQL
instance. The passwords are stored in an MD5 digest format within our
database. I would like to allow our users to change their passwords when
they are using the web application. Is there a clean or preferred way to
comput