-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
82 lines (65 loc) · 2.94 KB
/
index.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>SAMLmetaJS Demo</title>
<meta name="author" content="Andreas Åkre Solberg">
<!-- Include Google maps to use with SAMLmetaJS locaiton plugin -->
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
<!-- JQuery + JQuery UI -->
<script type="text/javascript" src="jquery/js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="jquery/js/jquery-ui-1.8.14.custom.min.js"></script>
<link rel="stylesheet" media="screen" type="text/css" href="jquery/css/smoothness/jquery-ui-1.8.14.custom.css" />
<!-- SAMLmetaJS -->
<script type="text/javascript" src="samlmetajs/samlmeta.js"></script>
<script type="text/javascript" src="samlmetajs/mdreader.js"></script>
<script type="text/javascript" src="samlmetajs/samlmeta.xml.js"></script>
<script type="text/javascript" src="samlmetajs/samlmeta.plugin.info.js"></script>
<script type="text/javascript" src="samlmetajs/samlmeta.plugin.org.js"></script>
<script type="text/javascript" src="samlmetajs/samlmeta.plugin.contact.js"></script>
<script type="text/javascript" src="samlmetajs/samlmeta.plugin.saml2sp.js"></script>
<!-- <script type="text/javascript" src="samlmetajs/samlmeta.plugin.location.js"></script> -->
<script type="text/javascript" src="samlmetajs/samlmeta.plugin.certs.js"></script>
<script type="text/javascript" src="samlmetajs/samlmeta.plugin.attributes.js"></script>
<!-- <script type="text/javascript" src="samlmetajs/samlmeta.plugin.fedlab.js"></script> -->
<!--
You are reccomended to select which plugins you would like to use, and then use the download package
minifier at
http://samlmetajs.simplesamlphp.org/download
You will then end up with a single file to include instead of the list of files shown above. This will be much more effective
for the user. You would need to include the file like this:
<script type="text/javascript" src="SAMLmetaJS/samlmeta.info-organization-contact-certs-saml2sp-attributes.min.js"></script>
-->
<link type="text/css" href="samlmetajs/css/samlmetajs.css" rel="Stylesheet" />
<script type="text/javascript">
$(document).ready(function(){
var options = {
// 'ruleset': {
// 'noentityname': 2,
// 'noentitydescr': 2,
// 'noorganization': 2,
// 'nocontacts': 2
// },
'showValidation': true,
'showValidationLevel': {
'info': false,
'ok': false,
'warning': true,
'error': true
}
};
$("textarea#metadata").SAMLmetaJS(options);
});
</script>
</head>
<body>
<p>
For more information of how to use SAMLmetaJS properly, visit the <a href="http://samlmetajs.simplesamlphp.org/docs">SAMLmetaJS documentation</a>.
</p>
<h1>Demo of SAMLmetaJS</h1>
<form action="?" method="post">
<textarea name="metadata" id="metadata" style="width: 100%"></textarea>
<input type="submit" name="s" value="Complete »" />
</form>
</body>
</html>