Added schema validation to tests.
[java-idp.git] / webApplication / hs.jsp
1 <%
2 response.setHeader("Expires","19-Mar-1971 08:23:00 GMT");
3 response.setHeader("Cache-control","no-cache");
4 response.setHeader("Pragma","no-cache");
5 %>
6
7 <?xml version="1.0" encoding="UTF-8"?>
8 <!DOCTYPE html 
9 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
10     "DTD/xhtml1-strict.dtd">
11     <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
12     <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
13
14     <jsp:useBean id="shire" scope="request" class="java.lang.String" />
15     <jsp:useBean id="target" scope="request" class="java.lang.String" />
16     <jsp:useBean id="assertion" scope="request" class="java.lang.String" />
17     <jsp:useBean id="hs_helpText" scope="application" class="java.lang.String"/>
18     <jsp:useBean id="hs_detailedHelpURL" scope="application" class="java.lang.String"/>
19         
20 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
21 <head>
22     <link rel="stylesheet" type="text/css" href="main.css" />
23     <title>Shibboleth Handle Request Processed</title>
24 </head>
25
26 <body onLoad="document.forms[0].submit()">
27
28 <h1>Shibboleth Handle Request Processed</h1>
29
30 <!-- <p><bean:write name="hs_helpText" /></p> -->
31
32 <script language="JavaScript">
33 <!--
34 document.write("<p>You are automatically being redirected to the requested site. ");
35 document.write("If the browser appears to be hung up after 15-20 seconds, try reloading ");
36 document.write("the page before contacting the technical support staff in charge of the ");
37 document.write("desired resource or service you are trying to access.</p>");
38 document.write("<h2>Redirecting to requested site...</h2>");
39 // -->
40 </script>
41
42 <noscript>
43 <b>Note:</b> Since your browser does not support JavaScript, you must press the
44 Continue button once to proceed to the requested site.
45 </noscript>
46
47 <p align="center">
48 <form name="shib"  action="<bean:write name="shire"/>" method="POST">
49 <input type="hidden" name="TARGET" value="<bean:write name="target" />">
50 <input type="hidden" name="SAMLResponse" value="<bean:write name="assertion" />">
51 <noscript>
52 <input type="submit" value="Continue">
53 </noscript>
54 </form>
55 </p>
56 <!--
57 <p><a target="help" href="<bean:write name="hs_detailedHelpURL" />">Detailed information</a> explaining this process.</p>
58 -->
59
60 </body>
61 </html>