Hi All,
I've used the CAS password encoder in our project. Before we use org.jasig.cas.authentication.handler.DefaultPasswordEncoder with following config:

<bean class="org.jasig.cas.authentication.handler.DefaultPasswordEncoder"> <constructor-arg index="0"> <value>MD5</value> </constructor-arg> </ bean>

That is working correctly and well. And now we begin to use the new one:

org.jasig.cas.authentication.handler.Md5PasswordEncoder

However, the password generated by Md5PasswordEncoder is totally wrong.
For example, the md5 hash for 'red' should be: MD5 ("red") = bda9643ac6601722a28f238714274da4
But in our project, we get: -42569bc5399fe8dd5d70dc78ebd8b25c

Can anyone gives any suggestion?

- Li Wei Nan





_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to