Commit 2d81ecbb authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Allowed empty db password

parent b8b9eac9
Pipeline #8638 passed with stages
in 1 minute and 58 seconds
......@@ -65,7 +65,7 @@ public class DataSourceWrapper implements Serializable {
ds.setDriverClassName(driverClassName);
ds.setUrl(url);
ds.setUsername(credentials.getUsername());
ds.setPassword(credentials.getPassword());
ds.setPassword(credentials.getPassword() != null ? credentials.getPassword() : "");
ds.setInitialSize(5);
ds.setMaxActive(10);
ds.setMaxIdle(5);
......
Supports Markdown
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