lemonldap-ng/lemonldap-ng-manager/t/conf/lmConf-1.json
Maxime Besson b12992755f Preserve applicationList key names (#1521)
Previously, every configuration save from the manager would overwrite
applicationList key names to preserve their ordering.

This commit introduces a new "order" key in the JSON config instead.
2019-05-28 15:38:26 +02:00

163 lines
4.2 KiB
JSON

{
"applicationList": {
"0001-cat": {
"0002-app": {
"options": {
"description": "A simple application displaying authenticated user",
"display": "auto",
"logo": "demo.png",
"name": "Application Test 1",
"uri": "http://test1.example.com/"
},
"order": 2,
"type": "application"
},
"0003-app": {
"options": {
"description": "The same simple application displaying authenticated user",
"display": "auto",
"logo": "thumbnail.png",
"name": "Application Test 2",
"uri": "http://test2.example.com/"
},
"order": 3,
"type": "application"
},
"catname": "Sample applications",
"order": 1,
"type": "category"
},
"0004-cat": {
"0005-app": {
"options": {
"description": "Configure LemonLDAP::NG WebSSO",
"display": "auto",
"logo": "configure.png",
"name": "WebSSO Manager",
"uri": "http://manager.example.com/"
},
"order": 5,
"type": "application"
},
"0006-app": {
"options": {
"description": "Explore WebSSO notifications",
"display": "auto",
"logo": "database.png",
"name": "Notifications explorer",
"uri": "http://manager.example.com/notifications"
},
"order": 6,
"type": "application"
},
"0007-app": {
"options": {
"description": "Explore WebSSO sessions",
"display": "auto",
"logo": "database.png",
"name": "Sessions explorer",
"uri": "http://manager.example.com/sessions"
},
"order": 7,
"type": "application"
},
"catname": "Administration",
"order": 4,
"type": "category"
},
"0008-cat": {
"0009-app": {
"options": {
"description": "Documentation supplied with LemonLDAP::NG",
"display": "on",
"logo": "help.png",
"name": "Local documentation",
"uri": "http://manager.example.com/doc/"
},
"order": 9,
"type": "application"
},
"0010-app": {
"options": {
"description": "Official LemonLDAP::NG Website",
"display": "on",
"logo": "network.png",
"name": "Official Website",
"uri": "http://lemonldap-ng.org/"
},
"order": 10,
"type": "application"
},
"catname": "Documentation",
"order": 8,
"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",
"cookieName": "lemonldap",
"demoExportedVars": {
"cn": "cn",
"mail": "mail",
"uid": "uid"
},
"domain": "example.com",
"exportedHeaders": {
"test1.example.com": {
"Auth-User": "$uid"
},
"test2.example.com": {
"Auth-User": "$uid"
}
},
"exportedVars": {},
"globalStorage": "Apache::Session::File",
"globalStorageOptions": {
"Directory": "t/sessions",
"LockDirectory": "t/sessions",
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
},
"groups": {},
"key": "qwertyui",
"locationRules": {
"manager.example.com": {
"default": "$uid eq \"dwho\""
},
"test1.example.com": {
"^/logout": "logout_sso",
"default": "accept"
},
"test2.example.com": {
"^/logout": "logout_sso",
"default": "accept"
}
},
"loginHistoryEnabled": 1,
"macros": {
"_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : \"$_user\""
},
"notification": 1,
"notificationStorage": "File",
"notificationStorageOptions": {
"dirName": "t/notifications"
},
"oldNotifFormat": 0,
"passwordDB": "Demo",
"persistentStorage": "Apache::Session::File",
"persistentStorageOptions": {
"Directory": "t/sessions",
"LockDirectory": "t/sessions"
},
"portal": "http://auth.example.com/",
"reloadUrls": {},
"securedCookie": 0,
"sessionDataToRemember": {},
"timeout": 72000,
"userDB": "Same",
"whatToTrace": "_whatToTrace"
}