<%-- this holds all the background divs that are dynamically loaded --%>
<% // make sure the redirect path is valid and prefixed with the context path String redirect = request.getParameter("resource"); if (redirect == null || !AuthUtil.isRedirectValid(request, redirect)) { redirect = "/"; } if (!redirect.startsWith(contextPath)) { redirect = contextPath + redirect; } String urlLogin = request.getContextPath() + resource.getPath() + ".html" + getAuthURLSuffix(slingRequest); if (authType == null || user == null || userManagementService.getAnonymousId().equals(user)) { %>

<%= printProperty(cfg, i18n, xssAPI, "box/title", i18n.get("Welcome to Adobe Experience Cloud")) %>

<%= printProperty(cfg, i18n, xssAPI, "box/text", i18n.get("All the tools you need to solve these complex digital business challenges.")) %> " x-cq-linkchecker="skip"><%= printProperty(cfg, i18n, xssAPI, "box/learnMore/text", i18n.get("Learn More")) %>

<%-- If IMS is provided we render the choice --%> <% if (imsLoginUrl != null) { %>
0 ? "" : "hidden" %>> <%= xssAPI.encodeForHTML(reason) %> <%= xssAPI.encodeForHTML(i18n.get("Sign in locally (admin tasks only)")) %> <% if (isError && reason.length() > 0) { %>

<%= xssAPI.encodeForHTML(i18n.get("Please contact your administrator or try again later.")) %>

<%= xssAPI.encodeForHTML(reason) %> <% } else { %> <% String autocomplete = cfg.get("box/autocomplete", false) ? "on" : "off" ; %>
<% String loginTitle = printProperty(cfg, i18n, xssAPI, "box/formTitle", i18n.get("Sign In")); String changeTitle = printProperty(cfg, i18n, xssAPI, "box/changePasswordTitle", i18n.get("Change Password")); String loginSubmitText = printProperty(cfg, i18n, xssAPI, "box/submitText", i18n.get("Sign In")); String changeSubmitText = printProperty(cfg, i18n, xssAPI, "box/changePasswordSubmitText", i18n.get("Submit")); String userPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/userPlaceholder", i18n.get("User name")); String loginPasswordPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/passwordPlaceholder", i18n.get("Password")); String changePasswordPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/oldPasswordPlaceholder", i18n.get("Old password")); String newPasswordPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/newPasswordPlaceholder", i18n.get("New password")); String confirmPasswordPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/confirmPasswordPlaceholder", i18n.get("Confirm new password")); %>
" type="password" placeholder="<%= newPasswordPlaceholder %>" spellcheck="false" autocomplete="off" <%= isLogin ? "hidden" : "" %>>
>
0 ? "" : "hidden" %>> <%= xssAPI.encodeForHTML(reason) %>

"/> "/> "/> "/> "/> "/> <% } %>
<%-- else render standard local login --%> <% } else { %>
<% if (isError && reason.length() > 0) { %>

<%= xssAPI.encodeForHTML(i18n.get("Please contact your administrator or try again later.")) %>

<%= xssAPI.encodeForHTML(reason) %> <% } else { %> <% String autocomplete = cfg.get("box/autocomplete", false) ? "on" : "off" ; %>
<% String loginTitle = printProperty(cfg, i18n, xssAPI, "box/formTitle", i18n.get("Sign In")); String changeTitle = printProperty(cfg, i18n, xssAPI, "box/changePasswordTitle", i18n.get("Change Password")); String loginSubmitText = printProperty(cfg, i18n, xssAPI, "box/submitText", i18n.get("Sign In")); String changeSubmitText = printProperty(cfg, i18n, xssAPI, "box/changePasswordSubmitText", i18n.get("Submit")); String userPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/userPlaceholder", i18n.get("User name")); String loginPasswordPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/passwordPlaceholder", i18n.get("Password")); String changePasswordPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/oldPasswordPlaceholder", i18n.get("Old password")); String newPasswordPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/newPasswordPlaceholder", i18n.get("New password")); String confirmPasswordPlaceholder = printAttribute(cfg, i18n, xssAPI, "box/confirmPasswordPlaceholder", i18n.get("Confirm new password")); %>

<%= isLogin ? loginTitle : changeTitle %>

" type="password" placeholder="<%= newPasswordPlaceholder %>" spellcheck="false" autocomplete="off" <%= isLogin ? "hidden" : "" %>>
>
0 ? "" : "hidden" %>> <%= xssAPI.encodeForHTML(reason) %>

"/> "/> "/> "/> "/> "/> <% } %>
<% } %>