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


OpenInteract documentation  | view source Contained in the OpenInteract distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

METHODS

Top

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

Top

None known.

TO DO

Top

Nothing known.

SEE ALSO

Top

SPOPS::LDAP

COPYRIGHT

Top

AUTHORS

Top

Chris Winters <chris@cwinters.com>


OpenInteract documentation  | view source Contained in the OpenInteract distribution.