logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Apache::Session::Browseable::Store::LDAP - Use LDAP to store persistent objects

Description

       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.

Name

       Apache::Session::Browseable::Store::LDAP - Use LDAP to store persistent objects

Options

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

        tie %s, 'Apache::Session::Browseable::LDAP', undef,
           {
               ldapServer           => 'localhost',
               ldapBase             => 'dc=example,dc=com',
               ldapBindDN           => 'cn=admin,dc=example,dc=com',
               ldapBindPassword     => 'pass',
               Index                => 'uid ipAddr',
               ldapObjectClass      => 'applicationProcess',
               ldapAttributeId      => 'cn',
               ldapAttributeContent => 'description',
               ldapAttributeIndex   => 'ou',
               ldapRaw              => '(?i:^jpegPhoto|;binary)',
           };

Pod Errors

       Hey! Theabovedocumenthadsomecodingerrors,whichareexplainedbelow:

       Around line 276:
           Non-ASCII character seen before =encoding in 'Clément'. Assuming UTF-8

perl v5.40.1                                       2025-04-12             Apache::Session...le::Store::LDAP(3pm)

See Also

       Apache::Session

Synopsis

        use Apache::Session::Browseable::Store::LDAP;

        my $store = new Apache::Session::Browseable::Store::LDAP;

        $store->insert($ref);
        $store->update($ref);
        $store->materialize($ref);
        $store->remove($ref);

See Also