lemonldap-ng/lemonldap-ng-handler/t/lmConf-1.json

96 lines
2.6 KiB
JSON
Raw Permalink Normal View History

2016-02-01 13:15:27 +01: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": {
"Auth-User": "$uid"
},
"test2.example.com": {
"Auth-User": "$uid"
},
"*.example.org": {
"Auth-User": "$uid"
2016-02-01 13:15:27 +01:00
}
},
"exportedVars": {
},
"globalStorage": "Apache::Session::File",
"globalStorageOptions": {
2016-02-01 21:10:28 +01:00
"Directory": "t/sessions",
"LockDirectory": "t/sessions/lock",
2016-02-01 13:15:27 +01:00
"generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
},
"groups": {},
"key": "qwertyui",
"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\"",
"default": "$uid eq \"dwho\""
},
"test1.example.com": {
2019-10-29 22:14:34 +01:00
"^/AuthStrong(?#AuthnLevel=5)": "accept",
"^/AuthWeak(?#AuthnLevel=1)": "accept",
2019-11-05 17:16:07 +01:00
"^/test-uri1": "varIsInUri($ENV{REQUEST_URI}, '/test-uri1/', $uid, 1)",
"^/test-uri2": "varIsInUri($ENV{REQUEST_URI}, '/test-uri2/', $uid)",
2019-11-05 19:15:35 +01:00
"^/test-restricted_uri": "varIsInUri($ENV{REQUEST_URI}, '/test-restricted_uri/', \"$uid/\", 1)",
2019-12-10 16:06:17 +01:00
"^/skipif": "$ENV{REQUEST_URI} =~ /zz/ ? skip : 1",
"^/fortimelords": "inGroup('timelords')",
"^/fordaleks": "inGroup('daleks')",
2016-02-01 13:15:27 +01:00
"^/logout": "logout_sso",
2016-02-01 21:10:28 +01:00
"^/deny": "deny",
2016-02-01 13:15:27 +01:00
"default": "accept"
},
"test2.example.com": {
2019-10-29 22:14:34 +01:00
"^/AuthWeak(?#AuthnLevel=1)": "accept",
2016-02-01 13:15:27 +01:00
"^/logout": "logout_sso",
"default": "accept"
},
2020-11-15 16:17:19 +01:00
"test4.example.com": {
"default": "accept"
},
"*.example.org": {
"^/orgdeny": "deny",
"default": "accept"
2020-05-06 10:30:03 +02:00
},
"a*.example.org": {
"default": "accept"
},
"ab%.example.org": {
2020-05-06 13:02:57 +02:00
"default": "deny"
},
2020-05-06 10:30:03 +02:00
"test*.example.fr": {
"default": "accept"
2016-02-01 13:15:27 +01:00
}
},
"macros": {
2020-11-20 12:56:31 +01:00
"_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : \"$_user\"",
"UA": "$ENV{HTTP_USER_AGENT}"
2016-02-01 13:15:27 +01:00
},
"portal": "http://auth.example.com/",
"reloadUrls": {},
"userDB": "Demo",
2019-10-29 22:14:34 +01:00
"vhostOptions": {
"test2.example.com": {
2020-11-15 16:17:19 +01:00
"vhostAuthnLevel": 5
},
"test4.example.com": {
2020-11-20 12:56:31 +01:00
"vhostAccessToTrace": "My::accessToTrace, Doctor, Who, UA"
2020-11-15 16:17:19 +01:00
}
2019-10-29 22:14:34 +01:00
},
2020-11-15 16:17:19 +01:00
"whatToTrace": "_whatToTrace",
"customToTrace": "mail"
2016-02-01 13:15:27 +01:00
}