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