<%@ include file="/portal/include/include_java.jsp" %> <%@ page import="java.util.List"%> <%@ page import="org.apache.commons.lang3.StringUtils"%> <%@ page import="com.appiancorp.security.auth.SpringSecurityContextHelper"%> <%@ page import="org.springframework.security.core.context.SecurityContext"%> <%@ page import="com.appiancorp.common.config.ApplicationContextHolder"%> <%@ page import="com.appiancorp.type.cdt.CustomBranding"%> <%@ page import="com.appiancorp.suite.cfg.CustomBrandingService"%> <%@ page import="com.appiancorp.suiteapi.common.ServiceLocator"%> <% CustomBranding b; try { b = ApplicationContextHolder.getBean(CustomBrandingService.class).getCustomBranding(); } catch (Exception e) { if (e instanceof RuntimeException) { throw (RuntimeException)e; } else { throw new RuntimeException(e); } } String SITE_NAME = b.getSitename(); String LOGO_URI = b.getLogoUri(); String FAVICON_URI = b.getFaviconUri(); String ERROR_MESSAGE = (String)request.getAttribute("errorMessage"); List ERROR_MESSAGE_ARGS = (List)request.getAttribute("errorMessageArgs"); String TEST_RESULT = "TestFailed"; if( StringUtils.isBlank(ERROR_MESSAGE) ) { TEST_RESULT = "TestSuccessful"; } else { pageContext.setAttribute("errorMessage", ERROR_MESSAGE); pageContext.setAttribute("errorMessageArgs", ERROR_MESSAGE_ARGS); } pageContext.setAttribute("testResult", TEST_RESULT); %> <%=SITE_NAME%> SAML Authentication

<% if( !StringUtils.isBlank(ERROR_MESSAGE) ) { %>

<% } %>