docs: private WebAuthenticator getAuthenticatorForFailOver(String authType, WebRequest webRequest) {
          WebAuthenticator authenticator = null;
          if (LoginConfiguration.FORM.equals(authType)) {
              authenticator = createFormLoginAuthenticator(webRequest);
          } else if (LoginConfiguration.BASIC.equals(authType)) {
              authenticator = getBasicAuthAuthenticator();
          }
          return authenticator;
      }