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::Store::LDAP - Use LDAP to store persistent objects

Author

       Xavier Guimard, <guimard@>

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::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 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',
           };

See Also

       Apache::Session

perl v5.30.3                                       2020-09-08                  Apache::Session::Store::LDAP(3pm)

Synopsis

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

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

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

See Also