b72d79a30b
- Create userDBFinish, passwordDBFinish and registerDBFinish methods - Call finish methods for each backend in process - Call LDAP unbind only when necessary - Unbind if error in RegisterDBLDAP
39 lines
814 B
Perl
39 lines
814 B
Perl
##@file
|
|
# Choice user backend file
|
|
|
|
##@class
|
|
# Choice user backend class
|
|
package Lemonldap::NG::Portal::PasswordDBChoice;
|
|
|
|
use strict;
|
|
use Lemonldap::NG::Portal::_Choice;
|
|
use Lemonldap::NG::Portal::Simple;
|
|
|
|
our $VERSION = '1.4.0';
|
|
|
|
## @apmethod int passwordDBInit()
|
|
# Does nothing
|
|
# @return Lemonldap::NG::Portal constant
|
|
sub passwordDBInit {
|
|
my $self = shift;
|
|
return $self->_choice->try( 'passwordDBInit', 2 );
|
|
}
|
|
|
|
## @apmethod int modifyPassword()
|
|
# Does nothing
|
|
# @return Lemonldap::NG::Portal constant
|
|
sub modifyPassword {
|
|
my $self = shift;
|
|
return $self->_choice->try( 'modifyPassword', 2 );
|
|
}
|
|
|
|
## @apmethod int passwordDBFinish()
|
|
# Does nothing
|
|
# @return Lemonldap::NG::Portal constant
|
|
sub passwordDBFinish {
|
|
my $self = shift;
|
|
return $self->_choice->try( 'passwordDBFinish', 2 );
|
|
}
|
|
|
|
1;
|