lemonldap-ng/e2e-tests/lmConf-1.json

198 lines
6.0 KiB
JSON
Raw Normal View History

{
"https": 0,
"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__/"
},
"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__/"
},
"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"
},
"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"
},
"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"
},
"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/"
},
"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",
"cfgVersion": "2.0.0",
"cookieName": "lemonldap",
2017-03-29 12:01:11 +02:00
"customFunctions": "My::hello My::get_additional_arg",
"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','')"
},
"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",
"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"
},
"locationRules": {
"manager.example.com": {
"(?#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\""
},
"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/",
"^/saml": "unprotect",
"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\""
},
2017-03-12 08:11:49 +01:00
"mailUrl": "http://auth.example.com:__port__/resetpwd",
"notification": 1,
"notificationStorage": "File",
"notificationStorageOptions": {
"dirName": "__pwd__/e2e-tests/conf"
},
"passwordDB": "Demo",
"persistentStorage": "Apache::Session::File",
"persistentStorageOptions": {
"Directory": "__pwd__/e2e-tests/conf/persistents",
"LockDirectory": "__pwd__/e2e-tests/conf/persistents/lock",
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
},
"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'"]],
"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-24 10:49:28 +01:00
"reloadUrls": {},
"securedCookie": 0,
"sessionDataToRemember": {},
"timeout": 72000,
"userDB": "Same",
"whatToTrace": "_whatToTrace"
2017-03-12 22:53:11 +01:00
}