PSGI tests in progress... (#583)
parent
8aa41789a9
commit
feee76e5bd
@ -1,96 +0,0 @@ |
||||
applicationList |
||||
'$data1 = {'1sample' => { catname => 'Sample applications',type => 'category', 'test1' => { type => 'application', options => { name => 'Application Test 1', uri => 'http://test1.example.com/', description => 'A simple application displaying authenticated user', logo => 'demo.png', display => 'auto', }, },'test2' => { type => 'application', options => { name => 'Application Test 2', uri => 'http://test2.example.com/', description => 'The same simple application displaying authenticated user', logo => 'thumbnail.png', display => 'auto', }, }, },'2administration' => { catname => 'Administration', type => 'category', 'manager' => { type => 'application', options => { name => 'WebSSO Manager', uri => 'http://manager.example.com/', description => 'Configure LemonLDAP::NG WebSSO', logo => 'configure.png', display => 'auto', }, },'sessions' => { type => 'application', options => { name => 'Sessions explorer', uri => 'http://manager.example.com/sessions.pl', description => 'Explore WebSSO sessions', logo => 'database.png', display => 'auto', }, }, 'notifications' => { type => 'application', options => { name => 'Notifications explorer', uri => 'http://manager.example.com/notifications.pl', description => 'Explore WebSSO notifications', logo => 'database.png', display => 'auto', }, }, }, '3documentation' => { catname => 'Documentation', type => 'category', 'localdoc' => { type => 'application', options => { name => 'Local documentation', uri => 'http://manager.example.com/doc/', description => 'Documentation supplied with LemonLDAP::NG', logo => 'help.png', display => 'on', }, },'officialwebsite' => { type => 'application', options => { name => 'Offical Website', uri => 'http://lemonldap-ng.org/', description => 'Official LemonLDAP::NG Website', logo => 'network.png', display => 'on', }, }, }, }' |
||||
|
||||
authentication |
||||
'Demo' |
||||
|
||||
cfgAuthor |
||||
'The LemonLDAP::NG team' |
||||
|
||||
cfgNum |
||||
1 |
||||
|
||||
cookieName |
||||
'lemonldap' |
||||
|
||||
demoExportedVars |
||||
'$data1 = {'uid' => 'uid','cn' => 'cn','mail' => 'mail'};' |
||||
|
||||
domain |
||||
'example.com' |
||||
|
||||
exportedHeaders |
||||
'$data1 = {'test2.example.com' => {'Auth-User' => '$uid'},'test1.example.com' => {'Auth-User' => '$uid'}};' |
||||
|
||||
exportedVars |
||||
'$data1 = {'UA' => 'HTTP_USER_AGENT'};' |
||||
|
||||
globalStorage |
||||
'Apache::Session::File' |
||||
|
||||
globalStorageOptions |
||||
'$data1 = {'Directory' => '/tmp/'};' |
||||
|
||||
groups |
||||
'$data1 = {};' |
||||
|
||||
key |
||||
'qwertyui' |
||||
|
||||
locationRules |
||||
'$data1 = {'test2.example.com' => {'default' => 'accept','^/logout' => 'logout_sso'},'test1.example.com' => {'default' => 'accept','^/logout' => 'logout_sso'},'manager.example.com' => {'default' => '$uid eq "dwho"'}};' |
||||
|
||||
loginHistoryEnabled |
||||
1 |
||||
|
||||
macros |
||||
'$data1 = {'_whatToTrace' => '$_auth eq \'SAML\' ? "$_user\\@$_idpConfKey" : "$_user"'};' |
||||
|
||||
notification |
||||
1 |
||||
|
||||
notificationStorage |
||||
'File' |
||||
|
||||
notificationStorageOptions |
||||
'$data1 = {'dirName' => 'e2e-tests/conf/'};' |
||||
|
||||
passwordDB |
||||
'Demo' |
||||
|
||||
persistentStorage |
||||
'Apache::Session::File' |
||||
|
||||
persistentStorageOptions |
||||
'$data1 = {'Directory' => '/tmp/'};' |
||||
|
||||
portal |
||||
'http://auth.example.com/' |
||||
|
||||
registerDB |
||||
'Null' |
||||
|
||||
reloadUrls |
||||
'$data1 = {'reload.example.com' => 'http://reload.example.com/reload'};' |
||||
|
||||
securedCookie |
||||
0 |
||||
|
||||
sessionDataToRemember |
||||
'$data1 = {};' |
||||
|
||||
timeout |
||||
72000 |
||||
|
||||
userDB |
||||
'Demo' |
||||
|
||||
whatToTrace |
||||
'$_whatToTrace' |
||||
|
||||
captcha_data |
||||
'e2e-tests/conf/' |
||||
|
||||
captcha_output |
||||
'e2e-tests/conf/' |
||||
|
@ -0,0 +1,57 @@ |
||||
{ |
||||
"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" |
||||
} |
||||
}, |
||||
"exportedVars": { |
||||
"UA": "HTTP_USER_AGENT" |
||||
}, |
||||
"globalStorage": "Apache::Session::File", |
||||
"globalStorageOptions": { |
||||
"Directory": "t/tmp", |
||||
"LockDirectory": "t/tmp/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": { |
||||
"^/logout": "logout_sso", |
||||
"default": "accept" |
||||
}, |
||||
"test2.example.com": { |
||||
"^/logout": "logout_sso", |
||||
"default": "accept" |
||||
} |
||||
}, |
||||
"macros": { |
||||
"_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : \"$_user\"" |
||||
}, |
||||
"portal": "http://auth.example.com/", |
||||
"reloadUrls": {}, |
||||
"userDB": "Demo", |
||||
"whatToTrace": "_whatToTrace" |
||||
} |
Loading…
Reference in new issue