perldoc ResourcePool::Resource::Net::LDAP

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. Its 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:

$resource->precheck

Performs a bind(), either anonymous or with dn and password (depends on the arguments to ResourcePool::Factory::Net::LDAP).

Returns: Returns true on success and false if the bind failed (regardless of the reason)

$resource->postcheck

Does not implement any postcheck().

Returns: always true

SEEALSO

AUTHOR

Copyright (C) 2001-2003 by Markus Winand <>

This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

 

Do not use offset for pagination. Learn why.

About

Last modification:
Mon Jan 31 15:15:35 2011
Informationen zu E-Commerce und Mediengesetz