default.jsp revision 9740fa737ef2ed9453ab46d145777dbbbf6a747b
2N/A<%--
2N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2N/A
2N/A Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
2N/A
2N/A The contents of this file are subject to the terms
2N/A of the Common Development and Distribution License
2N/A (the License). You may not use this file except in
2N/A compliance with the License.
2N/A
2N/A You can obtain a copy of the License at
2N/A https://opensso.dev.java.net/public/CDDLv1.0.html or
2N/A opensso/legal/CDDLv1.0.txt
2N/A See the License for the specific language governing
2N/A permission and limitations under the License.
2N/A
2N/A When distributing Covered Code, include this CDDL
2N/A Header Notice in each file and include the License file
2N/A at opensso/legal/CDDLv1.0.txt.
2N/A If applicable, add the following below the CDDL Header,
2N/A with the fields enclosed by brackets [] replaced by
2N/A your own identifying information:
2N/A "Portions Copyrighted [year] [name of copyright owner]"
2N/A
2N/A $Id: default.jsp,v 1.3 2008/10/29 03:11:52 veiming Exp $
2N/A
2N/A--%>
2N/A
2N/A<%--
2N/A Portions Copyrighted 2013 ForgeRock AS
2N/A--%>
2N/A
2N/A<%@page
2N/Aimport="com.sun.identity.saml2.common.SAML2Constants,
2N/Acom.sun.identity.saml2.common.SAML2Utils,
2N/Aorg.owasp.esapi.ESAPI"
2N/A%>
2N/A
2N/A<html>
2N/A<head>
2N/A <title>SAML2 Plugin Default Page</title>
2N/A <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
2N/A</head>
2N/A
2N/A<body>
2N/A<%
2N/A String messageParam = request.getParameter(SAML2Constants.MESSAGE);
2N/A if (!ESAPI.validator().isValidInput("HTTP Parameter Value" + messageParam, messageParam,
2N/A "HTTPParameterValue", 2000, true)) {
2N/A messageParam = null;
2N/A }
2N/A if (messageParam != null && messageParam.length() != 0) {
2N/A %>
2N/A <%= ESAPI.encoder().encodeForHTML(SAML2Utils.bundle.getString(messageParam)) %>
2N/A <%
2N/A } else {
2N/A %>
2N/A <%= ESAPI.encoder().encodeForHTML(SAML2Utils.bundle.getString("missingMessageParam")) %>
2N/A <%
2N/A }
2N/A%>
2N/A
2N/A</body>
2N/A</html>
2N/A