2015-12-13 23:09:34 +01:00
|
|
|
{
|
2018-02-16 15:55:05 +01:00
|
|
|
"https": 0,
|
2015-12-13 23:09:34 +01:00
|
|
|
"applicationList": {
|
|
|
|
"0001-cat": {
|
|
|
|
"catname": "Sample applications",
|
|
|
|
"0002-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "A simple application displaying authenticated user",
|
|
|
|
"display": "auto",
|
|
|
|
"logo": "demo.png",
|
|
|
|
"name": "Application Test 1",
|
2015-12-30 07:44:35 +01:00
|
|
|
"uri": "http://test1.example.com:__port__/"
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"0003-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "The same simple application displaying authenticated user",
|
|
|
|
"display": "auto",
|
|
|
|
"logo": "thumbnail.png",
|
|
|
|
"name": "Application Test 2",
|
2015-12-30 07:44:35 +01:00
|
|
|
"uri": "http://test2.example.com:__port__/"
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"type": "category"
|
|
|
|
},
|
|
|
|
"0004-cat": {
|
|
|
|
"catname": "Administration",
|
|
|
|
"0005-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "Configure LemonLDAP::NG WebSSO",
|
|
|
|
"display": "auto",
|
|
|
|
"logo": "configure.png",
|
|
|
|
"name": "WebSSO Manager",
|
2015-12-30 07:44:35 +01:00
|
|
|
"uri": "http://manager.example.com:__port__/manager.html"
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"0006-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "Explore WebSSO notifications",
|
|
|
|
"display": "auto",
|
|
|
|
"logo": "database.png",
|
|
|
|
"name": "Notifications explorer",
|
2015-12-30 07:44:35 +01:00
|
|
|
"uri": "http://manager.example.com:__port__/notifications.html"
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"0007-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "Explore WebSSO sessions",
|
|
|
|
"display": "auto",
|
|
|
|
"logo": "database.png",
|
|
|
|
"name": "Sessions explorer",
|
2015-12-30 07:44:35 +01:00
|
|
|
"uri": "http://manager.example.com:__port__/sessions.html"
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"type": "category"
|
|
|
|
},
|
|
|
|
"0008-cat": {
|
|
|
|
"catname": "Documentation",
|
|
|
|
"0009-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "Documentation supplied with LemonLDAP::NG",
|
|
|
|
"display": "on",
|
|
|
|
"logo": "help.png",
|
|
|
|
"name": "Local documentation",
|
2015-12-30 07:44:35 +01:00
|
|
|
"uri": "http://manager.example.com:__port__/doc/"
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"0010-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "Official LemonLDAP::NG Website",
|
|
|
|
"display": "on",
|
|
|
|
"logo": "network.png",
|
|
|
|
"name": "Offical Website",
|
|
|
|
"uri": "http://lemonldap-ng.org/"
|
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"type": "category"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"authentication": "Demo",
|
|
|
|
"cfgAuthor": "The LemonLDAP::NG team",
|
|
|
|
"cfgAuthorIP": "127.0.0.1",
|
|
|
|
"cfgDate": 1428138808,
|
|
|
|
"cfgLog": "Default configuration provided by LemonLDAP::NG team",
|
|
|
|
"cfgNum": "1",
|
2017-03-07 18:59:42 +01:00
|
|
|
"cfgVersion": "2.0.0",
|
2015-12-13 23:09:34 +01:00
|
|
|
"cookieName": "lemonldap",
|
2017-03-29 12:01:11 +02:00
|
|
|
"customFunctions": "My::hello My::get_additional_arg",
|
2015-12-13 23:09:34 +01:00
|
|
|
"demoExportedVars": {
|
|
|
|
"cn": "cn",
|
|
|
|
"mail": "mail",
|
|
|
|
"uid": "uid"
|
|
|
|
},
|
|
|
|
"domain": "example.com",
|
|
|
|
"exportedHeaders": {
|
|
|
|
"test1.example.com": {
|
2016-02-03 07:43:11 +01:00
|
|
|
"Auth-User": "$uid",
|
2016-02-28 12:51:31 +01:00
|
|
|
"Ip-Addr": "$ipAddr",
|
|
|
|
"Hello": "hello()",
|
2017-03-29 12:01:11 +02:00
|
|
|
"Uri": "$ENV{REQUEST_URI}",
|
2017-04-11 18:24:02 +02:00
|
|
|
"Macro-Uri": "$UA",
|
2016-04-27 08:12:35 +02:00
|
|
|
"Additional-Arg": "get_additional_arg('header-added')",
|
|
|
|
"Base64": "encode_base64('a:b','')"
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
|
|
|
"test2.example.com": {
|
|
|
|
"Auth-User": "$uid"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"exportedVars": {
|
|
|
|
},
|
|
|
|
"globalStorage": "Apache::Session::File",
|
|
|
|
"globalStorageOptions": {
|
2016-01-21 21:02:13 +01:00
|
|
|
"Directory": "__pwd__/e2e-tests/conf/sessions",
|
|
|
|
"LockDirectory": "__pwd__/e2e-tests/conf/sessions/lock",
|
2015-12-13 23:09:34 +01:00
|
|
|
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
|
|
|
|
},
|
|
|
|
"groups": {},
|
|
|
|
"key": "qwertyui",
|
2016-01-21 21:02:13 +01:00
|
|
|
"localSessionStorageOptions": {
|
|
|
|
"cache_depth": 3,
|
|
|
|
"cache_root": "__pwd__/e2e-tests/conf",
|
|
|
|
"default_expires_in": 600,
|
|
|
|
"directory_umask": "007",
|
|
|
|
"namespace": "lemonldap-ng-sessions"
|
|
|
|
},
|
2015-12-13 23:09:34 +01:00
|
|
|
"locationRules": {
|
|
|
|
"manager.example.com": {
|
2016-01-14 21:32:25 +01:00
|
|
|
"(?#Configuration)^/(manager\\.html|conf/)": "$uid eq \"dwho\"",
|
|
|
|
"(?#Notifications)^/notifications": "$uid eq \"dwho\" or $uid eq \"rtyler\"",
|
|
|
|
"(?#Sessions)^/sessions": "$uid eq \"dwho\" or $uid eq \"rtyler\"",
|
2017-03-16 09:08:21 +01:00
|
|
|
"default": "$uid eq \"dwho\" or $uid eq \"rtyler\""
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
|
|
|
"test1.example.com": {
|
|
|
|
"^/logout": "logout_sso",
|
2016-04-25 09:39:58 +02:00
|
|
|
"^/index.pl\\?logout_app$": "logout_app http://test1.example.com:__port__/index.pl?foo=1",
|
|
|
|
"^/index.pl\\?logout_all$": "logout_app_sso http://lemonldap-ng.org/welcome/",
|
2017-11-12 17:10:41 +01:00
|
|
|
"^/saml": "unprotect",
|
2015-12-13 23:09:34 +01:00
|
|
|
"default": "accept"
|
|
|
|
},
|
|
|
|
"test2.example.com": {
|
|
|
|
"^/logout": "logout_sso",
|
|
|
|
"default": "accept"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"loginHistoryEnabled": 1,
|
|
|
|
"macros": {
|
2017-04-11 18:24:02 +02:00
|
|
|
"UA" : "$ENV{HTTP_USER_AGENT}",
|
2017-03-12 22:53:11 +01:00
|
|
|
"_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : $_auth eq 'OpenIDConnect' ? \"$_user\\@$_oidcConnectedRP\" : \"$_user\""
|
2015-12-13 23:09:34 +01:00
|
|
|
},
|
2017-03-12 08:11:49 +01:00
|
|
|
"mailUrl": "http://auth.example.com:__port__/resetpwd",
|
2018-06-12 14:25:38 +02:00
|
|
|
"notification": 0,
|
2015-12-13 23:09:34 +01:00
|
|
|
"notificationStorage": "File",
|
|
|
|
"notificationStorageOptions": {
|
|
|
|
"dirName": "__pwd__/e2e-tests/conf"
|
|
|
|
},
|
|
|
|
"passwordDB": "Demo",
|
|
|
|
"persistentStorage": "Apache::Session::File",
|
|
|
|
"persistentStorageOptions": {
|
2015-12-18 07:17:30 +01:00
|
|
|
"Directory": "__pwd__/e2e-tests/conf/persistents",
|
|
|
|
"LockDirectory": "__pwd__/e2e-tests/conf/persistents/lock",
|
2015-12-13 23:09:34 +01:00
|
|
|
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
|
|
|
|
},
|
2015-12-13 23:39:19 +01:00
|
|
|
"portal": "http://auth.example.com:__port__/",
|
2017-03-12 08:11:49 +01:00
|
|
|
"portalSkin": "bootstrap",
|
|
|
|
"portalSkinBackground": "1280px-Cedar_Breaks_National_Monument_partially.jpg",
|
2016-02-18 06:33:49 +01:00
|
|
|
"post": {
|
|
|
|
"test2.example.com": {},
|
|
|
|
"manager.example.com": {},
|
|
|
|
"test1.example.com": {
|
|
|
|
"/form.html": {
|
|
|
|
"vars": [
|
|
|
|
["postuid", "$_user"],
|
|
|
|
["postmail", "'x@x.org'"],
|
|
|
|
["poststatic", "'static content'"]],
|
2017-02-28 19:58:10 +01:00
|
|
|
"jqueryUrl": "http://manager.example.com:__port__/static/bwr/jquery/dist/jquery.js",
|
2016-02-18 06:33:49 +01:00
|
|
|
"buttonSelector": "#bt",
|
|
|
|
"formSelector": "#test",
|
|
|
|
"target": "/index.pl"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2017-03-12 08:11:49 +01:00
|
|
|
"registerDB": "Demo",
|
|
|
|
"registerUrl": "http://auth.example.com:__port__/register",
|
2015-12-13 23:09:34 +01:00
|
|
|
"securedCookie": 0,
|
|
|
|
"sessionDataToRemember": {},
|
|
|
|
"timeout": 72000,
|
2017-02-05 10:13:20 +01:00
|
|
|
"userDB": "Same",
|
2015-12-13 23:09:34 +01:00
|
|
|
"whatToTrace": "_whatToTrace"
|
2017-03-12 22:53:11 +01:00
|
|
|
}
|