---
name: "Lemonldap::NG::Manager::Restricted"
section: "3pm"
platform: "linux"
package: "liblemonldap-ng-manager-perl"
version: "0.9.4.1-3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Lemonldap::NG::Manager::Restricted"
---

# Lemonldap::NG::Manager::Restricted(3pm)

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

## 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 AND LICENSE

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.
