-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjdap.html
67 lines (62 loc) · 1.93 KB
/
jdap.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>
<title>Paspoort Self Service</title>
<style type="text/css">
@import "jdap.css";
</style>
<script type="text/javascript" src="jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="jdap.js"></script>
<script type="text/javascript">
//This a match pattern of Markup items not to consider for LDAP attributes
noLdapPattern = /(Login|LogOut|UpdatePassword)/;
var jdapMarkUp = new Array();
//LogIn is essential
jdapMarkUp.Login = {
"_Title" : "Paspoort Login:",
"_Description" : "Log hier in om je wachtwoord te wijzigen",
//Url to post to
"_PostUrl" : "/jdap/",
"Username" : "text",
"Password" : "password",
"func_jdapLogIn" : "Log in"
};
jdapMarkUp.Personal = {
"Username" : "uid",
"Fullname" : "displayName"
};
jdapMarkUp.Contact = {
"Contactnumber" : "mobile",
"Emailaddress" : "mail",
"func_jdapModifyAttributes" : "Update"
};
//UpdatePassword is special
//jdapMarkUp.UpdatePassword = {
// "New Password" : "password",
// "New Password Again" : "password",
// "func_jdapUpdatePassword" : "Change Password",
// "_WeakPwMsg" : "Je wachtwoord is te eenvoudig probeer een ingewikkelder wachtwoord",
// "_NoPwMatchMsg" : "De ingevoerde wachtwoorden komen niet overeen"
//};
//LogOut is essential
jdapMarkUp.LogOut = {
"func_jdapLogOut" : "Click to log out",
"_LogOutMsg" : "You have logged out"
};
$(document).ready(function(){
jdapGui();
jdapGuiControls();
jdapGuiButtons();
//jdapHideGui();
});
</script>
</head>
<body>
<div id='jdapApp' style="width:200px;margin:20px">
</div>
</body>
</html>