code: @CallerSensitive
      public static Connection getConnection(String url,
          String user, String password) throws SQLException {
          java.util.Properties info = new java.util.Properties();
  
          if (user != null) {
              info.put("user", user);
          }
          if (password != null) {
              info.put("password", password);
          }
  
          return (getConnection(url, info, ClassLoader.getSystemClassLoader()));
      }
docs: Attempts to establish a connection to the given database URL.
  The <code>DriverManager</code> attempts to select an appropriate driver from
  the set of registered JDBC drivers.
  
  @param url a database url of the form
  <code>jdbc:<em>subprotocol</em>:<em>subname</em></code>
  @param user the database user on whose behalf the connection is being
  made
  @param password the user's password
  @return a connection to the URL
  @exception SQLException if a database access error occurs