2010-10-02 17:45:10 +02:00
|
|
|
## @file
|
|
|
|
# UserDB chaining mechanism
|
|
|
|
|
|
|
|
## @class
|
|
|
|
# UserDB chaining mechanism
|
2009-03-08 09:50:58 +01:00
|
|
|
package Lemonldap::NG::Portal::UserDBMulti;
|
|
|
|
|
2010-10-02 17:45:10 +02:00
|
|
|
use Lemonldap::NG::Portal::_Multi; #inherits
|
2009-03-08 09:50:58 +01:00
|
|
|
|
2009-06-08 18:29:13 +02:00
|
|
|
our $VERSION = '0.1';
|
|
|
|
|
2009-03-08 09:50:58 +01:00
|
|
|
sub userDBInit {
|
|
|
|
my $self = shift;
|
2009-10-12 18:55:35 +02:00
|
|
|
return $self->_multi->try( 'userDBInit', 1 );
|
2009-03-08 09:50:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
sub getUser {
|
|
|
|
my $self = shift;
|
2009-10-12 18:55:35 +02:00
|
|
|
return $self->_multi->try( 'getUser', 1 );
|
2009-03-08 09:50:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
sub setSessionInfo {
|
|
|
|
my $self = shift;
|
2009-10-12 18:55:35 +02:00
|
|
|
return $self->_multi->try( 'setSessionInfo', 1 );
|
2009-03-08 09:50:58 +01:00
|
|
|
}
|
|
|
|
|
2009-06-04 11:13:03 +02:00
|
|
|
sub setGroups {
|
|
|
|
my $self = shift;
|
2009-10-12 18:55:35 +02:00
|
|
|
return $self->_multi->try( 'setGroups', 1 );
|
2009-06-04 11:13:03 +02:00
|
|
|
}
|
2009-03-08 09:50:58 +01:00
|
|
|
|
|
|
|
1;
|
|
|
|
|