Lemonldap::NG::Manager::Restricted.3pm

Langue: en

Version: 2008-12-29 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Lemonldap::NG::Manager::Restricted - Restricted version of Lemonldap::NG::Manager to show only parts of protected virtual hosts.

SYNOPSIS

   use Lemonldap::NG::Manager::Restrited;
   my $h=new Lemonldap::NG::Manager::Restricted (
       {
         configStorage=>{
             type=>'File',
             dirName=>"/tmp/",
         },
         dhtmlXTreeImageLocation=> "/devel/img/",
         # uncomment this only if lemonldap-ng-manager.js is not in the same
         # directory than your script.
         # jsFile => /path/to/lemonldap-ng-manager.js,
         read => [ 'test.example.com', 'test2.example.com' ],
         write => [ 'test.example.com' ],
       }
     ) or die "Unable to start, see Apache logs";
   $h->doall();
 
 

DESCRIPTION

This module can be used to give access to a part of the Lemonldap::NG Web-SSO configuration. You can use it to simply show or give write access to some of the protected vortual hosts.

PARAMETERS

Lemonldap::NG::Manager::Restricted works like Lemonldap::NG::Manager but uses 2 new parameters in the constructor:
read : an array reference to the list of authorized virtual host to display,
write : an array reference to the list of virtual hosts that can been updated.

SEE ALSO

Lemonldap::NG::Manager, http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation

AUTHOR

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

BUG REPORT

Use OW2 system to report bug or ask for features: <http://forge.objectweb.org/tracker/?group_id=274>

DOWNLOAD

Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274> Copyright (C) 2007 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.