About db integration-- I use SHA1 encrypt password

I want openfire to load user data from my custom database ,
For test the openfire , I have two column of password ,one is plain text , one is sha1 encrypt
I modify openfire.xml , when passwordtype is plain ,it work well.
when passwordtype is sha1 ( sure i modify the passwordsql ), it not work .
does openfire 3.5.1 support sha1 ?
thanks .
it2000 ,are you online ?