docs: private boolean appHasWebXMLFormLogin(WebRequest webRequest) {
          return webRequest.getFormLoginConfiguration() != null &&
                 webRequest.getFormLoginConfiguration().getLoginPage() != null &&
                 webRequest.getFormLoginConfiguration().getErrorPage() != null;
      }