if (httpAuthenticationSettings.useBrowserBasedHttpAuthentication()) { return; } else if (httpAuthenticationSettings.getFormBasedHttpAuthenticationUri() != null) { loginFormURL = httpAuthenticationSettings.getFormBasedHttpAuthenticationUri(); } else { LOG.error(Messages.get().getBundle().key(Messages.ERR_UNSUPPORTED_AUTHENTICATION_MECHANISM_1, httpAuthenticationSettings.getBrowserBasedAuthenticationMechanism())); res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); return;
} else if (!httpAuthenticationSettings.useBrowserBasedHttpAuthentication() && CmsStringUtil.isNotEmpty(httpAuthenticationSettings.getFormBasedHttpAuthenticationUri())) { loginFormURL = httpAuthenticationSettings.getFormBasedHttpAuthenticationUri();
m_httpAuthenticationSettings.getConfigBrowserBasedAuthentication()); if (m_httpAuthenticationSettings.getFormBasedHttpAuthenticationUri() != null) { httpAuthenticationElement.addElement(N_FORM_BASED).setText( m_httpAuthenticationSettings.getFormBasedHttpAuthenticationUri());
} else if (!httpAuthenticationSettings.useBrowserBasedHttpAuthentication() && CmsStringUtil.isNotEmpty(httpAuthenticationSettings.getFormBasedHttpAuthenticationUri())) { loginFormURL = httpAuthenticationSettings.getFormBasedHttpAuthenticationUri();
if (httpAuthenticationSettings.useBrowserBasedHttpAuthentication()) { return; } else if (httpAuthenticationSettings.getFormBasedHttpAuthenticationUri() != null) { loginFormURL = httpAuthenticationSettings.getFormBasedHttpAuthenticationUri(); } else { LOG.error( Messages.get().getBundle().key( Messages.ERR_UNSUPPORTED_AUTHENTICATION_MECHANISM_1, httpAuthenticationSettings.getBrowserBasedAuthenticationMechanism())); res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); return;
Boolean.toString(m_httpAuthenticationSettings.useBrowserBasedHttpAuthentication())); if (m_httpAuthenticationSettings.getFormBasedHttpAuthenticationUri() != null) { httpAuthenticationElement.addElement(N_FORM_BASED).setText( m_httpAuthenticationSettings.getFormBasedHttpAuthenticationUri());