2016-05-26 23:26:49 +02:00
|
|
|
package Lemonldap::NG::Portal::UserDB::Remote;
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use Mouse;
|
|
|
|
use Lemonldap::NG::Portal::Main::Constants qw(PE_OK);
|
|
|
|
|
|
|
|
our $VERSION = '2.0.0';
|
|
|
|
|
2016-12-26 10:23:35 +01:00
|
|
|
extends 'Lemonldap::NG::Common::Module', 'Lemonldap::NG::Portal::Lib::Remote';
|
2016-05-26 23:26:49 +02:00
|
|
|
|
2016-06-09 20:40:20 +02:00
|
|
|
# RUNNING METHODS
|
|
|
|
|
2016-05-26 23:26:49 +02:00
|
|
|
*getUser = *Lemonldap::NG::Portal::Lib::Remote::checkRemoteId;
|
|
|
|
|
|
|
|
sub setSessionInfo {
|
|
|
|
my ( $self, $req ) = @_;
|
2018-07-05 22:56:16 +02:00
|
|
|
delete $req->data->{rSessionInfo}->{_session_id};
|
|
|
|
$req->{sessionInfo} = $req->data->{rSessionInfo};
|
2016-05-26 23:26:49 +02:00
|
|
|
PE_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub setGroups {
|
|
|
|
PE_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|