code: public boolean isValidUser() {
  
          CmsShell shell = new CmsShell(
              getWebAppRfsPath() + "WEB-INF" + File.separator,
              getServletMapping(),
              getDefaultWebApplication(),
              "${user}@${project}>",
              null);
          boolean validUser = shell.validateUser(getAdminUser(), getAdminPwd(), CmsRole.ROOT_ADMIN);
          shell.exit();
          return validUser;
      }
docs: Checks whether the selected user and password are valid and the user has the ROOT_ADMIN role.<p>
  
  @return <code>true</code> if the selected user and password are valid and the user has the ROOT_ADMIN role