Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Apache::Session::Browseable::Store::LDAP

Name Apache::Session::Browseable::Store::LDAP
Version 1.2.2
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/Apache/Session/Browseable/Store/LDAP.pm
Is Core No
Search CPAN for this module Apache::Session::Browseable::Store::LDAP
Documentation Apache::Session::Browseable::Store::LDAP
Module Details Apache::Session::Browseable::Store::LDAP


NAME

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


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);


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.


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


AUTHOR

Xavier Guimard, <guimard@>


COPYRIGHT AND LICENSE

Copyright (C) 2010-2017 by Xavier Guimard Copyright (C) 2015-2017 by Clement Oudot

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.


SEE ALSO

the Apache::Session manpage

Perl Diver brought to you by ScriptSolutions.com © 1997- 2025