2016-04-03 18:27:13 +02:00
|
|
|
{
|
2020-04-08 22:40:16 +02:00
|
|
|
"applicationList": {
|
|
|
|
"0001-cat": {
|
|
|
|
"catname": "Sample applications",
|
|
|
|
"0002-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "A simple application displaying authenticated user",
|
|
|
|
"display": "on",
|
|
|
|
"logo": "demo.png",
|
|
|
|
"name": "Application Test 1",
|
|
|
|
"uri": "http://test1.example.com/",
|
|
|
|
"tooltip": ""
|
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"0003-app": {
|
|
|
|
"options": {
|
|
|
|
"description": "",
|
|
|
|
"display": "on",
|
|
|
|
"logo": "thumbnail.png",
|
|
|
|
"name": "Application Test 2",
|
|
|
|
"uri": "http://test2.example.com/",
|
|
|
|
"tooltip": "A nice application!"
|
|
|
|
},
|
|
|
|
"type": "application"
|
|
|
|
},
|
|
|
|
"type": "category"
|
|
|
|
}
|
|
|
|
},
|
2016-04-03 18:27:13 +02:00
|
|
|
"authentication": "Demo",
|
|
|
|
"cfgAuthor": "The LemonLDAP::NG team",
|
|
|
|
"cfgAuthorIP": "127.0.0.1",
|
|
|
|
"cfgDate": 1428138808,
|
|
|
|
"cfgLog": "Handler test conf",
|
|
|
|
"cfgNum": "1",
|
|
|
|
"cookieName": "lemonldap",
|
|
|
|
"demoExportedVars": {
|
|
|
|
"cn": "cn",
|
|
|
|
"mail": "mail",
|
|
|
|
"uid": "uid"
|
|
|
|
},
|
|
|
|
"domain": "example.com",
|
|
|
|
"exportedHeaders": {
|
|
|
|
"test1.example.com": {
|
2020-02-28 22:22:39 +01:00
|
|
|
"Auth-User": "$uid",
|
2020-04-22 15:41:36 +02:00
|
|
|
"testHeader1": "'testHeader_value'",
|
2020-02-28 22:22:39 +01:00
|
|
|
"testHeader2": "' '",
|
|
|
|
"emptyHeader": "''"
|
2016-04-03 18:27:13 +02:00
|
|
|
},
|
|
|
|
"test2.example.com": {
|
|
|
|
"Auth-User": "$uid"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"exportedVars": {
|
2017-01-29 10:11:27 +01:00
|
|
|
"mail": "mail",
|
2017-10-31 09:53:33 +01:00
|
|
|
"uid": "uid",
|
2017-01-29 10:11:27 +01:00
|
|
|
"cn": "cn"
|
2016-04-03 18:27:13 +02:00
|
|
|
},
|
|
|
|
"globalStorage": "Apache::Session::File",
|
|
|
|
"globalStorageOptions": {
|
|
|
|
"Directory": "t/sessions",
|
|
|
|
"LockDirectory": "t/sessions/lock",
|
|
|
|
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
|
|
|
|
},
|
2020-04-06 19:05:26 +02:00
|
|
|
"groups": { "su":"$uid and $uid =~ /(?:rtyler|dwho)/", "test_su": "$uid and $uid eq \"rtyler\"", "su_test": "$uid and $uid eq \"rtyler\"" },
|
2016-04-03 18:27:13 +02:00
|
|
|
"key": "qwertyui",
|
|
|
|
"locationRules": {
|
2019-03-01 21:46:35 +01:00
|
|
|
"auth.example.com" : {
|
2019-05-29 23:49:28 +02:00
|
|
|
"(?#checkUser)^/checkuser" : "$uid eq \"dwho\" or $uid eq \"msmith\" or $uid eq \"french\"",
|
2019-03-05 21:10:58 +01:00
|
|
|
"(?#errors)^/lmerror/": "accept",
|
|
|
|
"default" : "accept"
|
2019-03-01 21:46:35 +01:00
|
|
|
},
|
2016-04-03 18:27:13 +02:00
|
|
|
"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\"",
|
|
|
|
"default": "$uid eq \"dwho\""
|
|
|
|
},
|
|
|
|
"test1.example.com": {
|
|
|
|
"^/logout": "logout_sso",
|
2019-11-08 21:18:35 +01:00
|
|
|
"^/test-restricted_uri": "varIsInUri($ENV{REQUEST_URI}, '/test-restricted_uri/', \"$uid/\", 1)",
|
2016-04-03 18:27:13 +02:00
|
|
|
"^/deny": "deny",
|
|
|
|
"default": "accept"
|
|
|
|
},
|
|
|
|
"test2.example.com": {
|
|
|
|
"^/logout": "logout_sso",
|
|
|
|
"default": "accept"
|
2018-06-04 10:13:04 +02:00
|
|
|
},
|
|
|
|
"test.example.org": {
|
|
|
|
"default": "accept"
|
2020-02-23 12:46:03 +01:00
|
|
|
},
|
|
|
|
"*.example.llng": {
|
|
|
|
"default": "accept"
|
2016-04-03 18:27:13 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"macros": {
|
2020-03-19 23:05:49 +01:00
|
|
|
"_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : \"$_user\"",
|
2020-04-01 00:35:09 +02:00
|
|
|
"array": "$uid eq 'french' ? 'doctor; who' : ''",
|
2020-04-18 19:01:56 +02:00
|
|
|
"authMode": "$authenticationLevel == 8 ? 'TOTP' : 'DEMO'",
|
|
|
|
"zeAUTHMODE_authmode": "$authMode. '_' . lc $authMode"
|
2016-04-03 18:27:13 +02:00
|
|
|
},
|
2016-04-03 18:27:22 +02:00
|
|
|
"notifications": 0,
|
2016-07-07 23:55:23 +02:00
|
|
|
"passwordDB": "Null",
|
2016-04-03 18:27:13 +02:00
|
|
|
"portal": "http://auth.example.com/",
|
2017-04-13 22:08:55 +02:00
|
|
|
"portalDisplayResetPassword": 0,
|
2016-12-20 12:53:33 +01:00
|
|
|
"casStorage": "Apache::Session::File",
|
|
|
|
"casStorageOptions": {
|
|
|
|
"Directory": "t/sessions/saml",
|
|
|
|
"LockDirectory": "t/sessions/saml/lock",
|
|
|
|
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
|
|
|
|
},
|
2016-11-22 09:05:43 +01:00
|
|
|
"samlStorage": "Apache::Session::File",
|
|
|
|
"samlStorageOptions": {
|
2016-11-22 21:55:10 +01:00
|
|
|
"Directory": "t/sessions/saml",
|
|
|
|
"LockDirectory": "t/sessions/saml/lock",
|
2016-11-22 09:05:43 +01:00
|
|
|
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
|
|
|
|
},
|
2017-01-01 10:43:48 +01:00
|
|
|
"oidcStorage": "Apache::Session::File",
|
|
|
|
"oidcStorageOptions": {
|
|
|
|
"Directory": "t/sessions/saml",
|
|
|
|
"LockDirectory": "t/sessions/saml/lock",
|
|
|
|
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
|
|
|
|
},
|
2016-04-03 18:27:13 +02:00
|
|
|
"reloadUrls": {},
|
2017-01-24 23:05:07 +01:00
|
|
|
"requireToken": 0,
|
2017-02-05 10:13:20 +01:00
|
|
|
"userDB": "Same",
|
2019-04-08 21:52:43 +02:00
|
|
|
"vhostOptions": {
|
|
|
|
"test2.example.com": {
|
|
|
|
"vhostType": "AuthBasic"
|
|
|
|
}
|
|
|
|
},
|
2016-04-03 18:27:13 +02:00
|
|
|
"whatToTrace": "_whatToTrace"
|
|
|
|
}
|