code: public void login() throws Exception {
      WikiUser wuser = WikiUser.getUser(getWikiid(), getSiteurl());
      if (wuser == null) {
        throw new Exception(
            "user for " + getWikiid() + "(" + getSiteurl() + ") not configured");
      }
      // wiki.setDebug(true);
      try {
        Login login = login(wuser.getUsername(), wuser.getPassword());
        LOGGER.log(Level.INFO, this.siteurl + this.scriptPath + this.apiPath + ":"
            + login.getResult());
        if (!"Success".equals(login.getResult())) {
          throw new Exception("login for '" + wuser.getUsername() + "' at '"
              + getWikiid() + "(" + this.getSiteurl() + this.getScriptPath()
              + ")' failed: " + login.getResult());
        }
      } catch (javax.net.ssl.SSLHandshakeException she) {
        String msg = "login via SSL  to " + this.getSiteurl() + " failed\n";
        msg += "Exception: " + she.getMessage();
        throw new Exception(msg);
      }
    }
docs: log me in with the configured user
  
  @throws Exception