2017-02-17 08:40:18 +01:00
|
|
|
package Lemonldap::NG::Portal::Lib::OtherSessions;
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use Mouse;
|
|
|
|
|
2019-02-12 18:21:38 +01:00
|
|
|
our $VERSION = '2.1.0';
|
2017-02-17 08:40:18 +01:00
|
|
|
|
|
|
|
has module =>
|
|
|
|
( is => 'rw', default => 'Lemonldap::NG::Common::Apache::Session' );
|
|
|
|
|
|
|
|
has moduleOpts => (
|
|
|
|
is => 'rw',
|
2017-03-27 18:51:18 +02:00
|
|
|
lazy => 1,
|
2017-02-17 08:40:18 +01:00
|
|
|
default => sub {
|
|
|
|
my %opts = %{ $_[0]->{conf}->{globalStorageOptions} || {} };
|
|
|
|
$opts{backend} = $_[0]->{conf}->{globalStorage};
|
|
|
|
return \%opts;
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
1;
|