lemonldap-ng/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/UserDB/Proxy.pm
2017-01-09 06:11:30 +00:00

33 lines
592 B
Perl

package Lemonldap::NG::Portal::UserDB::Proxy;
use strict;
use Mouse;
use Lemonldap::NG::Portal::Main::Constants 'PE_OK';
extends 'Lemonldap::NG::Common::Module';
our $VERSION = '2.0.0';
# 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();
}
# RUNNING METHODS
sub setGroups {
PE_OK;
}
1;