code: public static KieServicesConfiguration newRestConfiguration( String serverUrl, String login, String password, long timeout ) {
          return new KieServicesConfigurationImpl( serverUrl, login, password, timeout );
      }
docs: Creates a new configuration object for REST based service
  @param serverUrl the URL to the server (e.g.: "http://localhost:8080")
  @param login user login
  @param password user password
  @param timeout the maximum timeout in milliseconds
  @return configuration instance