0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest<%--
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest Copyright 2013 ForgeRock AS.
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest The contents of this file are subject to the terms of the Common Development and
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest Distribution License (the License). You may not use this file except in compliance with the
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest License.
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest specific language governing permission and limitations under the License.
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest When distributing Covered Software, include this CDDL Header Notice in each file and include
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest Header, with the fields enclosed by brackets [] replaced by your own identifying
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest information: "Portions copyright [year] [name of copyright owner]".
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest--%>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest<%@ page contentType="text/html;charset=UTF-8" language="java" %>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest<html>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest<head>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest <title>Access rights validated</title>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest</head>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest<body onload="document.forms[0].submit()">
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest<form method="post" action="${TARGET_URL}">
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest <input type="hidden" name="${SAML_MESSAGE_NAME}" value="${SAML_MESSAGE_VALUE}" />
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest <%
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest String relayStateValue = (String)request.getAttribute("RELAY_STATE_VALUE");
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest if (relayStateValue != null && !relayStateValue.isEmpty()) {
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest %>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest <input type="hidden" name="${RELAY_STATE_NAME}" value="${RELAY_STATE_VALUE}" />
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest <%
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest }
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest %>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest <noscript>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest <input type="submit" value="${SAML_POST_KEY}" />
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest </noscript>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest</form>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest</body>
0fdab8904a8fe223f6934b878769fe45e7651c60Andrew Forrest</html>