1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5 response.setHeader("Expires","19-Mar-1971 08:23:00 GMT");
6 response.setHeader("Cache-control","no-cache");
7 response.setHeader("Pragma","no-cache");
9 <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
10 <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
12 <jsp:useBean id="shire" scope="request" class="java.lang.String" />
13 <jsp:useBean id="target" scope="request" class="java.lang.String" />
14 <jsp:useBean id="assertion" scope="request" class="java.lang.String" />
15 <jsp:useBean id="hs_helpText" scope="application" class="java.lang.String"/>
16 <jsp:useBean id="hs_detailedHelpURL" scope="application" class="java.lang.String"/>
18 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
20 <link rel="stylesheet" type="text/css" href="main.css" />
21 <title>Shibboleth Handle Request Processed</title>
24 <body onload="document.forms[0].submit()">
27 if (request.getAttribute("shire") == null
28 || request.getAttribute("shire").equals("")
29 || request.getAttribute("target") == null
30 || request.getAttribute("target").equals("")
31 || request.getAttribute("assertion") == null
32 || request.getAttribute("assertion").equals(""))
34 request.setAttribute("requestURL", request.getRequestURI());
35 request.setAttribute("errorText", "This page cannot be accessed directly");
36 request.getRequestDispatcher("/hserror.jsp").forward(request, response);
40 <h1>Shibboleth Handle Request Processed</h1>
42 <script type="text/javascript">
44 document.write("<p>You are automatically being redirected to the requested site. ");
45 document.write("If the browser appears to be hung up after 15-20 seconds, try reloading ");
46 document.write("the page before contacting the technical support staff in charge of the ");
47 document.write("desired resource or service you are trying to access.</p>");
48 document.write("<h2>Redirecting to requested site...</h2>");
54 <strong>Note:</strong> Since your browser does not support JavaScript, you must press the
55 Continue button once to proceed to the requested site.
60 <form id="shibboleth" action="<bean:write name="shire"/>" method="post">
62 <input type="hidden" name="TARGET" value="<bean:write name="target" />" />
63 <input type="hidden" name="SAMLResponse" value="<bean:write name="assertion" />" />
67 <input type="submit" value="Continue" />