NAME

OpenInteract::SPOPS::LDAP - Common SPOPS::LDAP-specific methods for objects

SYNOPSIS

# In configuration file
'myobj' => {
   'isa'   => [ qw/ ... OpenInteract::SPOPS::LDAP ... / ],
}

DESCRIPTION

This class provides common datasource access methods required by SPOPS::LDAP.

METHODS

global_datasource_handle( [ $connect_key ] )

Returns an LDAP handle corresponding to the connection key $connect_key. If $connect_key is not given, then the default connection key is used. This is specified in the server configuration file under the key 'default_connection_ldap'.

connection_info( [ $connect_key ] )

Returns a hashref of LDAP connection information. If no $connect_key is given then we get the value of 'datasource' from the object configuration, and if that is not defined we get the default datasource from the server configuration.

See the server configuration file for documentation on what is in the hashref.

BUGS

None known.

TO DO

Nothing known.

SEE ALSO

SPOPS::LDAP

COPYRIGHT

Copyright (c) 2001-2002 MSN Marketing Service Nordwest, GmbH. All rights reserved.

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

AUTHORS

Chris Winters <chris@cwinters.com>