@Override
  public void close() throws IOException {
    if (webServer != null && webServer.isRunning()) {
      try {
        webServer.stop();
      } catch (Exception e) {
        throw new IOException(e);
      }
      webServer = null;
    }
  }
This class is used to execute a browser based SSO workflow with the authentication mode
is browser.
jdbc/src/java/org/apache/hive/jdbc/saml/HiveJdbcBrowserClient.java