Hello,
with Openfire 4.0.2 I found this inconsistency that wasted to me 2 days of work, I don't know if anyone else had the same problem, but I think it's a bug:
Usecase:
in openfire.xml I had
<username encrypted="false">oracle</username>
<password encrypted="false">oracle</password>
and in security.xml
<algorithm>Blowfish</algorithm> (or Aes)
When I connected, I recived 2 errors impossible to get together:
1) Wrong user and password
2) Impossible to create table OfUser(....) table already exist
What I did to solve and use not-crypted user/password:
deleted in security.xml the full <encrypt> tag.
I didn't found any documentation, if exists ignore following suggestions:
1) priority in openfire.xml to attribute value "encrypted" over encryption tag, attributes can't be used as comments TBH
2) if user/password it's wrong, setup should not try to automatically create ofUser table: in case however, must log something different (I know that probably it's Oracle Driver fault but "already exists" means you are logged in while you aren't...)
Best regards