1Apache::Session::Store:U:sLeDrAPC(o3n)tributed Perl DocuAmpeancthaet:i:oSnession::Store::LDAP(3)
2
3
4
6 Apache::Session::Store::LDAP - Use LDAP to store persistent objects
7
9 use Apache::Session::Store::LDAP;
10
11 my $store = new Apache::Session::Store::LDAP;
12
13 $store->insert($ref);
14 $store->update($ref);
15 $store->materialize($ref);
16 $store->remove($ref);
17
19 This module fulfills the storage interface of Apache::Session. The
20 serialized objects are stored in an LDAP directory file using the
21 Net::LDAP Perl module.
22
24 This module requires one argument in the usual Apache::Session style.
25 The keys ldapServer, ldapBase, ldapBindDN, ldapBindPassword are
26 required. The keys ldapPort, ldapObjectClass, ldapAttributeId,
27 ldapAttributeContent are optional. Example:
28
29 tie %s, 'Apache::Session::LDAP', undef,
30 {
31 ldapServer => 'localhost',
32 ldapBase => 'dc=example,dc=com',
33 ldapBindDN => 'cn=admin,dc=example,dc=com',
34 ldapBindPassword => 'pass',
35 ldapObjectClass => 'applicationProcess',
36 ldapAttributeId => 'cn',
37 ldapAttributeContent => 'description',
38 };
39
41 Xavier Guimard, <guimard@>
42
44 Copyright (C) 2009, 2012 by Xavier Guimard Copyright (C) 2014, 2015 by
45 Clement Oudot
46
47 This library is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself, either Perl version 5.10.0 or, at
49 your option, any later version of Perl 5 you may have available.
50
52 Apache::Session
53
54
55
56perl v5.30.0 2019-07-26 Apache::Session::Store::LDAP(3)