code: public void login(String username, String passwd, String domain) {
      this.login = getPerformedAction(new PostLogin(username, passwd, domain)).getLoginData();
      loginChangeUserInfo = true;
      if (getVersion() == Version.UNKNOWN) {
        loginChangeVersion = true;
      }
    }
docs: Performs a Login.
  
  @param username the username
  @param passwd the password
  @param domain login domain (Special for LDAPAuth extention to authenticate against LDAP users)
  @see PostLogin