Don't require a non-blank password.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2490 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -124,8 +124,7 @@ public class StaticConnectionProvider implements ConnectionProvider
|
||||
String url = requireProp(props, "url", err);
|
||||
err = "No driver username specified [ident=" + ident + "].";
|
||||
String username = requireProp(props, "username", err);
|
||||
err = "No driver password specified [ident=" + ident + "].";
|
||||
String password = requireProp(props, "password", err);
|
||||
String password = props.getProperty("password", "");
|
||||
String autoCommit = props.getProperty("autocommit");
|
||||
|
||||
// if this is a read-only connection, we cache connections by username+url+readOnly to
|
||||
|
||||
Reference in New Issue
Block a user