1Apache::Session::BrowseUasbelre:C:oSnttorrieb:u:tALepDdaAcPPh(ee3r:)l:SDeoscsuimoenn:t:aBtrioownseable::Store::LDAP(3)
2
3
4
6 Apache::Session::Browseable::Store::LDAP - Use LDAP to store persistent
7 objects
8
10 use Apache::Session::Browseable::Store::LDAP;
11
12 my $store = new Apache::Session::Browseable::Store::LDAP;
13
14 $store->insert($ref);
15 $store->update($ref);
16 $store->materialize($ref);
17 $store->remove($ref);
18
20 This module fulfills the storage interface of Apache::Session. The
21 serialized objects are stored in an LDAP directory file using the
22 Net::LDAP Perl module.
23
25 This module requires one argument in the usual Apache::Session style.
26 The keys ldapServer, ldapBase, ldapBindDN, ldapBindPassword are
27 required. The key ldapPort, ldapObjectClass, ldapAttributeId,
28 ldapAttributeContent, ldapAttributeIndex, and ldapRaw are optional.
29 Example:
30
31 tie %s, 'Apache::Session::Browseable::LDAP', undef,
32 {
33 ldapServer => 'localhost',
34 ldapBase => 'dc=example,dc=com',
35 ldapBindDN => 'cn=admin,dc=example,dc=com',
36 ldapBindPassword => 'pass',
37 Index => 'uid ipAddr',
38 ldapObjectClass => 'applicationProcess',
39 ldapAttributeId => 'cn',
40 ldapAttributeContent => 'description',
41 ldapAttributeIndex => 'ou',
42 ldapRaw => '(?i:^jpegPhoto|;binary)',
43 };
44
46 Xavier Guimard, <guimard@>
47
49 Copyright (C) 2010-2017 by Xavier Guimard Copyright (C) 2015-2017 by
50 Clement Oudot
51
52 This library is free software; you can redistribute it and/or modify it
53 under the same terms as Perl itself, either Perl version 5.10.0 or, at
54 your option, any later version of Perl 5 you may have available.
55
57 Apache::Session
58
59
60
61perl v5.32.1 20A2p1a-c0h1e-:2:6Session::Browseable::Store::LDAP(3)