validatorAuthFail.jsp revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
355N/A<%--
355N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
355N/A
355N/A Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
355N/A
355N/A The contents of this file are subject to the terms
355N/A of the Common Development and Distribution License
355N/A (the License). You may not use this file except in
355N/A compliance with the License.
355N/A
355N/A You can obtain a copy of the License at
355N/A https://opensso.dev.java.net/public/CDDLv1.0.html or
355N/A opensso/legal/CDDLv1.0.txt
355N/A See the License for the specific language governing
355N/A permission and limitations under the License.
355N/A
355N/A When distributing Covered Code, include this CDDL
355N/A Header Notice in each file and include the License file
355N/A at opensso/legal/CDDLv1.0.txt.
355N/A If applicable, add the following below the CDDL Header,
355N/A with the fields enclosed by brackets [] replaced by
355N/A your own identifying information:
355N/A "Portions Copyrighted [year] [name of copyright owner]"
355N/A
355N/A $Id: validatorAuthFail.jsp,v 1.4 2009/01/05 23:23:25 veiming Exp $
355N/A
355N/A--%>
355N/A
355N/A<%@ page import="com.sun.identity.common.SystemConfigurationUtil" %>
355N/A<%@ page import="com.sun.identity.shared.Constants" %>
355N/A<%@ page import="com.sun.identity.workflow.ValidateSAML2" %>
355N/A<%@ page contentType="text/html; charset=utf-8" language="java" %>
355N/A
355N/A<html>
355N/A<head>
355N/A
355N/A<%
355N/A String deployuri = SystemConfigurationUtil.getProperty(
355N/A Constants.AM_SERVICES_DEPLOYMENT_DESCRIPTOR);
355N/A String m = request.getParameter("m");
355N/A String locale = request.getParameter("locale");
355N/A if (m == null) {
355N/A m = "";
355N/A }
355N/A%>
355N/A
355N/A<link rel="stylesheet" type="text/css" href="<%= deployuri %>/com_sun_web_ui/css/css_ns6up.css" />
355N/A<link rel="stylesheet" type="text/css" href="<%= deployuri %>/console/css/openam.css" />
355N/A</head>
355N/A
<body class="DefBdy">
<div><img src="<%= deployuri %>/com_sun_web_ui/images/other/dot.gif" alt="" border="0" height="50" width="1" /></div>
<center>
<table border=0 cellpadding=2 cellspacing=0 width="400">
<tr>
<td bgcolor="#333333">
<table bgcolor="#FFFFFF" border=0 cellpadding=2 cellspacing=10>
<tr>
<td align=center><img width=28 height=26 src="<%= deployuri %>/console/images/progressfailed.gif" />
<img src="<%= deployuri %>/com_sun_web_ui/images/other/dot.gif" alt="" border="0" height="10" width="1" /></br /><b>
<%
out.println(ValidateSAML2.getMessage("validator.title.auth.failed", locale));
%>
</b></td></tr>
<tr>
<td>
<%
out.println(ValidateSAML2.getMessage("validator.message.auth.failed", locale));
%>
<tr>
<td align="right">
<%
if (m.equals("idp")) {
out.print("<a href=\"javascript:top.authIdp()\">");
} else if (m.equals("sp")) {
out.print("<a href=\"javascript:top.authSp()\">");
} else if (m.equals("sso")) {
out.print("<a href=\"javascript:top.singleLogin()\">");
} else {
out.print("<a href=\"#\">");
}
out.print(ValidateSAML2.getMessage("validator.link.auth.failed", locale));
out.print("</a>");
%>
</td></tr>
</table>
</td></tr>
</table>
<!-- content -->
</div>
</body>
</html>