smeserver-lemonldap-ng/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/015soap
2014-07-01 19:36:41 +02:00

20 lines
502 B
Plaintext

{
# SOAP
if (($llng->prop('SoapAllowFrom') || '') ne ''){
my $password = $llng->prop('SoapPassword') || 'secret';
$conf->{'Soap'} = '1';
$conf->{'globalStorage'} = 'Lemonldap::NG::Common::Apache::Session::SOAP';
$conf->{'globalStorageOptions'} = {
proxy => "https://lemonsoap:$password\@soapsso.$domain/index.pl/sessions",
generateModule => 'Lemonldap::NG::Common::Apache::Session::Generate::SHA256'
};
}
else {
$conf->{'Soap'} = '0';
}
$OUT = '';
}