Commit 75004650 authored by Alex Wenckus's avatar Alex Wenckus Committed by alex

provider does not tolerate null passwords well

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9823 b35dd754-fafc-0310-a699-88a17e54d16e
parent 39fa1cd0
......@@ -90,7 +90,7 @@ public class DefaultConnectionProvider implements ConnectionProvider {
settings.setProperty("proxool.test-after-use", testAfterUse.toString());
settings.setProperty("proxool.house-keeping-test-sql", testSQL);
settings.setProperty("user", getUsername());
settings.setProperty("password", getPassword());
settings.setProperty("password", (getPassword() != null ? getPassword() : ""));
}
public void restart() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment