96 lines
2.6 KiB
JSON
96 lines
2.6 KiB
JSON
{
|
|
"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"
|
|
}
|
|
},
|
|
"exportedVars": {
|
|
},
|
|
"globalStorage": "Apache::Session::File",
|
|
"globalStorageOptions": {
|
|
"Directory": "t/sessions",
|
|
"LockDirectory": "t/sessions/lock",
|
|
"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": {
|
|
"^/AuthStrong(?#AuthnLevel=5)": "accept",
|
|
"^/AuthWeak(?#AuthnLevel=1)": "accept",
|
|
"^/test-uri1": "varIsInUri($ENV{REQUEST_URI}, '/test-uri1/', $uid, 1)",
|
|
"^/test-uri2": "varIsInUri($ENV{REQUEST_URI}, '/test-uri2/', $uid)",
|
|
"^/test-restricted_uri": "varIsInUri($ENV{REQUEST_URI}, '/test-restricted_uri/', \"$uid/\", 1)",
|
|
"^/skipif": "$ENV{REQUEST_URI} =~ /zz/ ? skip : 1",
|
|
"^/fortimelords": "inGroup('timelords')",
|
|
"^/fordaleks": "inGroup('daleks')",
|
|
"^/logout": "logout_sso",
|
|
"^/deny": "deny",
|
|
"default": "accept"
|
|
},
|
|
"test2.example.com": {
|
|
"^/AuthWeak(?#AuthnLevel=1)": "accept",
|
|
"^/logout": "logout_sso",
|
|
"default": "accept"
|
|
},
|
|
"test4.example.com": {
|
|
"default": "accept"
|
|
},
|
|
"*.example.org": {
|
|
"^/orgdeny": "deny",
|
|
"default": "accept"
|
|
},
|
|
"a*.example.org": {
|
|
"default": "accept"
|
|
},
|
|
"ab%.example.org": {
|
|
"default": "deny"
|
|
},
|
|
"test*.example.fr": {
|
|
"default": "accept"
|
|
}
|
|
},
|
|
"macros": {
|
|
"_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : \"$_user\"",
|
|
"UA": "$ENV{HTTP_USER_AGENT}"
|
|
},
|
|
"portal": "http://auth.example.com/",
|
|
"reloadUrls": {},
|
|
"userDB": "Demo",
|
|
"vhostOptions": {
|
|
"test2.example.com": {
|
|
"vhostAuthnLevel": 5
|
|
},
|
|
"test4.example.com": {
|
|
"vhostAccessToTrace": "My::accessToTrace, Doctor, Who, UA"
|
|
}
|
|
},
|
|
"whatToTrace": "_whatToTrace",
|
|
"customToTrace": "mail"
|
|
}
|