code: public void connect(String controller, String username, char[] password) {
          connect(controller, username, password, null);
      }
docs: Connect to the server using a specified host and port.
  
  @param controllerHost The host name.
  @param controllerPort The port.
  @param username The user name for logging in.
  @param password The password for logging in.