code: protected static Pair<PasswordAuthenticator, List<String>> getConnectionObjectsFromHost(URI host) {
          List<String> nodes = Collections.emptyList();
          try {
              nodes = Arrays.asList(new URI(host.getScheme(),
                      null, host.getHost(), host.getPort(),
                      null, null, null).toString());
          } catch (URISyntaxException e) {
  
          }
          String[] credentials = host.getUserInfo().split(":");
  
          return Pair.of(
                  new PasswordAuthenticator(credentials[0], credentials[1]),
                  nodes
          );
      }
docs: Creates a {@link Pair} containing a {@link PasswordAuthenticator} and a {@link List} of (cluster) nodes from a URI
  
  @param host a URI representing the connection to a single instance, for example couchbase://username:password@hostname:port
  @return a tuple2, the connections objects that we need to establish a connection to a Couchbase Server