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 are optional. Example:
29
30 tie %s, 'Apache::Session::Browseable::LDAP', undef,
31 {
32 ldapServer => 'localhost',
33 ldapBase => 'dc=example,dc=com',
34 ldapBindDN => 'cn=admin,dc=example,dc=com',
35 ldapBindPassword => 'pass',
36 Index => 'uid ipAddr',
37 ldapObjectClass => 'applicationProcess',
38 ldapAttributeId => 'cn',
39 ldapAttributeContent => 'description',
40 ldapAttributeIndex => 'ou',
41 };
42
44 Xavier Guimard, <guimard@>
45
47 Copyright (C) 2010-2017 by Xavier Guimard Copyright (C) 2015-2017 by
48 Clement Oudot
49
50 This library is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself, either Perl version 5.10.0 or, at
52 your option, any later version of Perl 5 you may have available.
53
55 Apache::Session
56
57
58
59perl v5.28.0 20A1p8a-c0h7e-:1:4Session::Browseable::Store::LDAP(3)