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

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

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.0.0   Source   Latest Release: Lemonldap-NG-Manager-1.4.1

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, 2010 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.10.0 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: