Apache::Session::Store::LDAP(3pm)

Apache::Session::Store::LDAP3pm

Use ldap to store persistent objects

Usage

 use Apache::Session::Store::LDAP;
 my $store = new Apache::Session::Store::LDAP;
 $store->insert($ref);
 $store->update($ref);
 $store->materialize($ref);
 $store->remove($ref);

Overview

This module fulfills the storage interface of Apache::Session. The serialized objects are stored in an LDAP directory file using the Net::LDAP Perl module.

Options

This module requires one argument in the usual Apache::Session style. The keys ldapServer, ldapBase, ldapBindDN, ldapBindPassword are required. The keys ldapPort, ldapObjectClass, ldapAttributeId, ldapAttributeContent are optional. Example:

 tie %s, 'Apache::Session::LDAP', undef,
    {
        ldapServer           => 'localhost',
        ldapBase             => 'dc=example,dc=com',
        ldapBindDN           => 'cn=admin,dc=example,dc=com',
        ldapBindPassword     => 'pass',
        ldapObjectClass      => 'applicationProcess',
        ldapAttributeId      => 'cn',
        ldapAttributeContent => 'description',
    };

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9–10
  4. 11–13

Author

Xavier Guimard, <guimard@>

From libapache-session-ldap-perl 0.5-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.