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