Add LDAP (#243) - NOT YET TESTED
This commit is contained in:
parent
e6600fed7d
commit
c71762101d
|
@ -3,6 +3,7 @@ lib/Apache/Session/Browseable.pod
|
|||
lib/Apache/Session/Browseable/DBI.pm
|
||||
lib/Apache/Session/Browseable/File.pm
|
||||
lib/Apache/Session/Browseable/Informix.pm
|
||||
lib/Apache/Session/Browseable/LDAP.pm
|
||||
lib/Apache/Session/Browseable/MySQL.pm
|
||||
lib/Apache/Session/Browseable/Oracle.pm
|
||||
lib/Apache/Session/Browseable/Postgres.pm
|
||||
|
@ -10,6 +11,7 @@ lib/Apache/Session/Browseable/Redis.pm
|
|||
lib/Apache/Session/Browseable/Store/DBI.pm
|
||||
lib/Apache/Session/Browseable/Store/File.pm
|
||||
lib/Apache/Session/Browseable/Store/Informix.pm
|
||||
lib/Apache/Session/Browseable/Store/LDAP.pm
|
||||
lib/Apache/Session/Browseable/Store/MySQL.pm
|
||||
lib/Apache/Session/Browseable/Store/Oracle.pm
|
||||
lib/Apache/Session/Browseable/Store/Postgres.pm
|
||||
|
|
|
@ -36,6 +36,7 @@ sub DESTROY {
|
|||
sub searchOn {
|
||||
my ( $class, $args, $selectField, $value, @fields ) = @_;
|
||||
|
||||
# TODO: create an index system
|
||||
my %res = ();
|
||||
$class->get_key_from_all_sessions(
|
||||
$args,
|
||||
|
@ -87,35 +88,5 @@ sub get_key_from_all_sessions {
|
|||
}
|
||||
|
||||
1;
|
||||
__END__
|
||||
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Apache::Session::File - An implementation of Apache::Session
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use Apache::Session::File;
|
||||
|
||||
tie %hash, 'Apache::Session::File', $id, {
|
||||
Directory => '/tmp/sessions',
|
||||
LockDirectory => '/var/lock/sessions',
|
||||
};
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
This module is an implementation of Apache::Session. It uses the File backing
|
||||
store and the File locking scheme. You must specify the directory for the
|
||||
object store and the directory for locking in arguments to the constructor. See
|
||||
the example, and the documentation for Apache::Session::Store::File and
|
||||
Apache::Session::Lock::File.
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
This module was written by Jeffrey William Baker <jwbaker@acm.org>.
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
L<Apache::Session::DB_File>, L<Apache::Session::Flex>,
|
||||
L<Apache::Session::MySQL>, L<Apache::Session::Postgres>, L<Apache::Session>
|
||||
|
|
|
@ -30,7 +30,8 @@ sub populate {
|
|||
__END__
|
||||
=head1 NAME
|
||||
|
||||
Apache::Session::Browseable - Add index and search methods to Apache::Session
|
||||
Apache::Session::Browseable::MySQL - Add index and search methods to
|
||||
Apache::Session::MySQL
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
|
|
|
@ -100,7 +100,8 @@ sub get_key_from_all_sessions {
|
|||
__END__
|
||||
=head1 NAME
|
||||
|
||||
Apache::Session::Browseable - Add index and search methods to Apache::Session
|
||||
Apache::Session::Browseable::Redis - Add index and search methods to
|
||||
Apache::Session::Redis
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ __END__
|
|||
=head1 NAME
|
||||
|
||||
Apache::Session::Browseable::Store::Redis - An implementation of
|
||||
Apache::Session::Browseable::Store
|
||||
Apache::Session::Store
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ Apache::Session::LDAP - An implementation of Apache::Session
|
|||
=head1 SYNOPSIS
|
||||
|
||||
use Apache::Session::LDAP;
|
||||
tie %hash, 'Apache::Session::DB_File', $id, {
|
||||
tie %hash, 'Apache::Session::LDAP', $id, {
|
||||
ldapServer => 'ldap://localhost:389',
|
||||
ldapConfBase => 'dmdName=applications,dc=example,dc=com',
|
||||
ldapBindDN => 'cn=admin,dc=example,dc=com',
|
||||
|
|
Loading…
Reference in New Issue
Block a user