Re: Allowing Users to change their passwords

2006-05-17 Thread digby
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

Re: Allowing Users to change their passwords

2006-05-17 Thread johnny
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

Re: [***Probable Spam***] Allowing Users to change their passwords

2006-05-17 Thread johnny
} 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

Allowing Users to change their passwords

2006-05-17 Thread Khawaja Shams
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