Dancer-Plugin-LDAP
view release on metacpan or search on metacpan
[ENHANCEMENTS]
* Compatible to Dancer 1 and Dancer 2.
0.0010 Fri Jul 13 14:56:37 2012 CEST
[ENHANCEMENTS]
* Use Net::LDAP's socket method to determine whether the LDAP
connnection is still alive.
* Add dn property of LDAP message object to failure message if present.
0.0002 Wed Feb 1 12:58:41 2012 CET
[FIXES]
* Fix UTF-8 encoding on attribute values returned from LDAP search.
* Fix passing through of unaccounted parameters in quick_select to
Net::LDAP's search method.
lib/Dancer/Plugin/LDAP.pm view on Meta::CPAN
. $ldret->error);
return;
}
# pass reference to the settings
$ldap->{dancer_settings} = $settings;
return bless $ldap, 'Dancer::Plugin::LDAP::Handle';
}
# Check whether the connection is alive
sub _check_connection {
my $ldap = shift;
return unless $ldap;
return unless $ldap->socket;
return 1;
}
sub _get_settings {
my $name = shift;
my $return_settings;
( run in 0.675 second using v1.01-cache-2.11-cpan-39bf76dae61 )