Xavier Guimard > Lemonldap-NG-Manager-0.90 > Lemonldap::NG::Manager::Sessions

Download:
Lemonldap-NG-Manager-0.90.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.11   Source   Latest Release: Lemonldap-NG-Manager-0.91

NAME ^

Lemonldap::NG::Manager::Sessions - Perl extension to manage Lemonldap::NG sessions

SYNOPSIS ^

  #!/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();

DESCRIPTION ^

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.

SEE ALSO ^

Lemonldap::NG::Handler::CGI, Lemonldap::NG::Manager

AUTHOR ^

Xavier Guimard, <x.guimard@free.fr>

COPYRIGHT AND LICENSE ^

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/