lemonldap-ng/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/UserDB/Proxy.pm

33 lines
600 B
Perl
Raw Normal View History

2016-06-06 22:49:59 +02:00
package Lemonldap::NG::Portal::UserDB::Proxy;
use strict;
use Mouse;
use Lemonldap::NG::Portal::Main::Constants 'PE_OK';
2017-01-09 07:11:30 +01:00
extends 'Lemonldap::NG::Common::Module';
2016-06-06 22:49:59 +02:00
2021-04-01 23:07:58 +02:00
our $VERSION = '2.0.12';
2016-06-06 22:49:59 +02:00
2017-01-09 07:11:30 +01:00
# INITIALIZATION
sub init {
my ($self) = @_;
if ( $self->conf->{proxyUseSoap} ) {
extends 'Lemonldap::NG::Common::Module',
'Lemonldap::NG::Portal::Lib::SOAPProxy';
}
else {
extends 'Lemonldap::NG::Common::Module',
'Lemonldap::NG::Portal::Lib::RESTProxy';
}
return $self->SUPER::init();
}
2016-06-09 20:40:20 +02:00
# RUNNING METHODS
2016-06-06 22:49:59 +02:00
sub setGroups {
2021-04-01 23:07:58 +02:00
return PE_OK;
2016-06-06 22:49:59 +02:00
}
1;