root / spepjava / src / com / qut / middleware / spep / servlet / samlRequestTemplate.html @ 460f2a096fd9063f77651e57bf9854311aed62c4

View | Annotate | Download (3.9 KB)

1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<html>
3
<head>
4
<title>ESOE secure resource verification</title>
5
6
<!-- This file is specially formatted with addition escape characters for Java MessageFormatter edit with care -->
7
8
<style type="text/css">
9
body '{'
10
  background-color: #fff;
11
  font-size: 100.01%;
12
  font-weight: normal;
13
  font-family: arial, verdana, helvetica, sans-serif;
14
  margin: 10px;
15
  padding: 0;
16
  color: #000;
17
  text-align: center;
18
'}'
19
20
h1 '{'
21
  font-size: 40px;
22
  font-weight: bold;
23
  margin: 1em 0;
24
  color:  #cccccc;
25
  text-align: center;
26
'}'
27
28
a '{'
29
text-decoration: none;
30
'}'
31
32
div#nonjavascript
33
'{'
34
          margin: 0px 20px 0px 20px;
35
        display: block;
36
'}'
37
38
div#main 
39
'{'
40
  width: 600px;
41
  margin-left: auto;
42
  margin-right: auto;
43
  text-align: left;
44
'}'
45
46
</style>
47
48
<script>
49
function enableAutoSubmit(name)
50
'{' 
51
   index = document.cookie.indexOf(name + ''='');
52
         
53
    if(index > -1)
54
       return 1;
55
       
56
    return 0;
57
'}'
58
59
function deleteCookie(name)
60
'{'
61
        var expires = new Date();
62
        expires.setUTCFullYear(expires.getUTCFullYear() - 1);
63
        document.cookie = name + ''=; expires='' + expires.toUTCString() + ''; path=/'';
64
'}' 
65
66
function loader()
67
'{'
68
        var el = document.getElementById(''nonjavascript'');
69
        el.style.display = ''none'';
70
        
71
        var submit = enableAutoSubmit(''spepAutoSubmit'');
72
        if(submit == 1)
73
        '{'
74
                deleteCookie(''spepAutoSubmit'');
75
                document.samlRequest.submit()
76
        '}'
77
 '}'
78
79
function toggle()
80
    '{'
81
        var el = document.getElementById(''nonjavascript'');
82
        if ( el.style.display != ''none'' )
83
        '{'
84
            el.style.display = ''none'';
85
        '}'
86
        else
87
        '{'
88
            el.style.display = ''block'';
89
        '}'
90
    '}'
91
</script>
92
93
</head>
94
<body onLoad="loader()">
95
96
<div id="main">
97
        <h1> Security Verification </h1>
98
        <p>The resource you are accessing has been identified as secure content.</p>
99
        <p/>
100
        <p>This site is currently verifying your digital identity.
101
                <ul>
102
                        <li>For most web browsers this process is automatic, you will be taken to your original resource upon completion.</li>
103
                        <li>The verification process is <strong>encrypted</strong> to protect your digital identity.</li>
104
                        <li>The verification process should take no more than 20 seconds to complete.</li>
105
                        <li>The verification process is required only once per session for each unique site you visit</li>
106
                </ul>
107
        </p>
108
        <br/>
109
                <noscript>
110
                        <p>Your browser does not support Javascript or it is not enabled. For the best experience we recommend you <strong>enable Javascript for this site</strong> or change to a Javascript enabled browser. You <strong>MUST</strong> manually click the button below.</p>
111
                </noscript>
112
        <br/>
113
        <p>If you''re navigating using the browser back or forward buttons you can safely skip over this page, your session is already valid and won''t be affected.</p>
114
        <br/>
115
        <br/>
116
        <p><small>If you''re having problems, or using an older browser please see the <a href="#" onclick="toggle(); return false">extended functionality</a></small>.</p>
117
        
118
        <form method="post" action="{0}" name="samlRequest">
119
                <input type="hidden" name="SAMLRequest" value="{1}"/>
120
                <div id="nonjavascript">
121
                        <ul>
122
                        <li><p>Some common causes of requiring this extended functionality include having <strong>javascript</strong> or <strong>cookies</strong> disabled. Please ensure both of these technologies are enabled in your browser</p></li>
123
                        <li>
124
                                <p><small>If the automated process is not functioning for you please click this button: <input type="submit" value="Verify Identity" /></small></p>
125
                        </li>
126
                        <li><small>If you continue to have problems please report these to your local helpdesk or computer support professional, include as much detail as possible including the date and time of the problem, the type of computer you use and the version of web browser you''re using.</small></li>
127
                        </ul>
128
                </div>
129
        </form>
130
</div>
131
</body>
132
</html>
133