Use SHA256 by default for sessions identifier (#695)

This commit is contained in:
Clément Oudot 2014-06-08 09:29:53 +00:00
parent 4d4689b806
commit 87237108f8
2 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,7 @@ exportedHeaders
'$data1 = {'test2.__DNSDOMAIN__' => {'Auth-User' => '$uid'},'test1.__DNSDOMAIN__' => {'Auth-User' => '$uid'}};'
globalStorageOptions
'$data1 = {'Directory' => '__SESSIONDIR__'};'
'$data1 = {'Directory' => '__SESSIONDIR__','generateModule' => 'Lemonldap::NG::Common::Apache::Session::Generate::SHA256'};'
persistentStorageOptions
'$data1 = {'Directory' => '__PSESSIONDIR__'};'

View File

@ -231,6 +231,8 @@ has 'globalStorageOptions' => (
return {
'Directory' => '/var/lib/lemonldap-ng/sessions/',
'LockDirectory' => '/var/lib/lemonldap-ng/sessions/lock/',
'generateModule' =>
'Lemonldap::NG::Common::Apache::Session::Generate::SHA256',
};
},
documentation => 'Session backend module options',