validatorFooter.jsp revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
0N/A<%--
2062N/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
1472N/A at opensso/legal/CDDLv1.0.txt.
1472N/A If applicable, add the following below the CDDL Header,
1472N/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
2062N/A $Id: validatorFooter.jsp,v 1.7 2009/10/27 17:57:38 asyhuang Exp $
1879N/A
1879N/A--%>
2062N/A
2062N/A<%@ page import="com.sun.identity.common.SystemConfigurationUtil" %>
2062N/A<%@ page import="com.sun.identity.shared.Constants" %>
0N/A<%@ page import="com.sun.identity.workflow.ValidateSAML2" %>
2062N/A<%@ page import="org.owasp.esapi.ESAPI" %>
2062N/A<%@ page contentType="text/html; charset=utf-8" language="java" %>
2062N/A
2062N/A<%
2062N/A String deployuri = SystemConfigurationUtil.getProperty(
2062N/A Constants.AM_SERVICES_DEPLOYMENT_DESCRIPTOR);
2062N/A String msg = request.getParameter("m");
2062N/A String locale = request.getParameter("locale");
2062N/A String backLoginBtnLabel = ValidateSAML2.getMessage(
2062N/A "button.backtoLogin", locale);
1138N/A String message = ((msg != null) && (msg.length() > 0)) ?
1138N/A ValidateSAML2.getMessage(msg, locale) : null;
2062N/A org.owasp.esapi.Encoder enc = ESAPI.encoder();
1138N/A message=enc.encodeForHTML(message);
1138N/A%>
2062N/A<html>
0N/A<head>
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/openam.css" />
0N/A</head>
0N/A<body class="DefBdy">
0N/A
0N/A<table border=0 cellpadding=5 cellspacing=0 width="100%">
0N/A<tr>
0N/A<td width="10"></td>
0N/A<td align="left">
1138N/A<%
1138N/A if (message != null) {
2062N/A out.println(message);
1138N/A }
1138N/A%>
1138N/A</td>
2062N/A<td align="right" nowrap="nowrap" valign="bottom">
1138N/A<div class="TtlBtnDiv"> <input name="btnBacktoLogin" type="submit" class="Btn1" value="<%= backLoginBtnLabel %>" onmouseover="javascript: this.className='Btn1Hov'" onmouseout="javascript: this.className='Btn1'" onblur="javascript: this.className='Btn1'" onfocus="javascript: this.className='Btn1Hov'" onClick="top.cancelOp();return false;"/>
1138N/A</div>
1138N/A</td>
1138N/A<td width="10"></td>
1138N/A</tr>
1138N/A</table>
1138N/A</body>
1138N/A</head>
1138N/A</html>
1138N/A