-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotectedPage.html
executable file
·68 lines (50 loc) · 2.35 KB
/
protectedPage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<!--[if IE]><![endif]-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" rel="Stylesheet" />
<link rel="stylesheet" href="css/style.css?v=1">
</head>
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie7"> <![endif]-->
<!--[if IE 8 ]> <body class="ie8"> <![endif]-->
<!--[if IE 9 ]> <body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->
<div id="container">
<header></header>
<div id="main">
<div style="padding: 10px;">
<p> <a href="index.html">home</a> <a href="actions.html">actions</a> <a href="email.html">email</a>
<a href="protectedPage.html">pageLogin</a> <a href="protectedResource.html">clickLogin</a>
<a href="http://code.google.com/p/safeajax/">googleCode</a> <a href="SA-Users.pdf">diagram</a>
</div>
<p>This page uses safeAjaxs' support for auto-login at pageLoad via the built-in login dialog of safeAjax</p>
<div style="position: absolute; bottom: 0px;">
<span style="font-size: 24px">the password is: safeAjax</span> <span style="font-size: 14px">(Cassandra requires a username of 'safeAjax')</span>
<p><span>once logged in you are given a 5min cookie</span></p>
</div>
<div id="debugDiv"></div>
</div>
<footer></footer>
</div> <!-- end of #container -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js"></script>
<script type="text/javascript" src="./lib/safeAjax/safeAjax_v5.js"></script>
<script src="protectedPage.js"></script>
<!--[if lt IE 7 ]>
<script src="js/dd_belatedpng.js?v=1"></script>
<![endif]-->
<script>
var _gaq = [['_setAccount', 'UA-10127989-1'], ['_trackPageview']];
(function(d, t) {
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.async = true; g.src = '//www.google-analytics.com/ga.js'; s.parentNode.insertBefore(g, s);
})(document, 'script');
</script>
</body>
</html>