Lemonldap::NG::Manager::Sessions - Perl extension to manage Lemonldap::NG sessions
#!/usr/bin/perl use strict; use Lemonldap::NG::Manager::Sessions; our $cgi ||= Lemonldap::NG::Manager::Sessions->new({ localStorage => "Cache::FileCache", localStorageOptions => { 'namespace' => 'MyNamespace', 'default_expires_in' => 600, 'directory_umask' => '007', 'cache_root' => '/tmp', 'cache_depth' => 5, }, configStorage => $Lemonldap::NG::Conf::configStorage, configStorage=>{ type=>'File', dirName=>"/tmp/", }, https => 1, jqueryUri => '/js/jquery/jquery.js', imagePath => '/js/jquery.simple.tree/', # Force the use of X-FORWARDED-FOR for IP useXForwardedForIP => 1, # Optionnal protection => 'rule: $uid eq "admin"', # Or to use rules from manager protection => 'manager', # Or just to authenticate without managing authorization protection => 'authenticate', }); $cgi->process();
Lemonldap::NG::Manager::Sessions provides a web interface to manage Lemonldap::NG sessions.
It inherits from Lemonldap::NG::Handler::CGI, so see this manpage to understand how arguments passed to the constructor.
Lemonldap::NG::Handler::CGI, Lemonldap::NG::Manager
Xavier Guimard, <x.guimard@free.fr>
Copyright (C) 2008 by Xavier Guimard
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
jquery.simple.tree embedded javascript library is licensed under BSD http://en.wikipedia.org/wiki/BSD_License and copyrighted (c) 2008 by Peter Panov <panov@elcat.kg>, IKEEN Group http://www.ikeen.com/
jquery.simple.tree
To install Lemonldap::NG::Manager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lemonldap::NG::Manager
CPAN shell
perl -MCPAN -e shell install Lemonldap::NG::Manager
For more information on module installation, please visit the detailed CPAN module installation guide.