NAME
ResourcePool::Resource::Net::LDAP - A ResourcePool wrapper for Net::LDAP
SYNOPSIS
use ResourcePool::Resource::Net::LDAP;
my $resource = ResourcePool::Resource::Net::LDAP->new(
$factory,
$hostname,
[@NamedBindOptions],
[@NamedNewOptions]);
DESCRIPTION
This class is used by the ResourcePool internally to create Net::LDAP connections. It's called by the corresponding ResourcePool::Factory::Net::LDAP object which passes the parameters needed to establish the Net::LDAP connection.
The only thing which has to been known by an application developer about this class is the implementation of the precheck() and postcheck() methods:
- precheck()
-
Performs a bind(), either anonymous or with dn and password (depends on the arguments to ResourcePool::Factory::Net::LDAP).
Returns true on success and false if the bind failed (regardless of the reason).
- postcheck()
-
Does not implement any postcheck().
SEE ALSO
ResourcePool(3pm), ResourcePool::Resource(3pm)
AUTHOR
Copyright (C) 2002 by Markus Winand <mws@fatalmind.com>
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 151:
You forgot a '=back' before '=head1'