The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lemonldap::NG::Manager::Conf - Configuration management part of Lemonldap::NG::Manager.

SYNOPSIS

See Lemonldap::NG::Manager.

DESCRIPTION

Lemonldap::NG::Manager provides a web interface to manage Lemonldap::NG Web-SSO system.

The Perl part of Lemonldap::NG::Manager is the REST server. Web interface is written in Javascript, using AngularJS framework and can be found in `site` directory. The REST API is described in REST-API.md file given in source tree.

Lemonldap::NG Manager::Conf provides the configuration management part.

ORGANIZATION

Lemonldap::NG::Manager configuration is managed by 2 files:

This file

to display configuration metadatas and keys content, and to save new configuration,

Lemonldap::NG::Manager::Conf::Parser

used to check proposed configuration.

OPERATION

The first Ajax request given by the manager web interface is generaly `/confs/latest`, Lemonldap::NG::Manager::Conf returns the configuration metadatas (author, data, log,...). Then for each key read by the user, web interface launch an Ajax request to get the value.

At the end, when modifications are saved, a POST request is done to `/confs`. Then Lemonldap::NG::Manager::Conf calls Lemonldap::NG::Manager::Conf::Parser to verify new configuration. If good, it tries to store it. Then it calls applyConf() that tries to call other servers to explain them that configuration has changed. Then it returns all errors, warnings in a JSON object that is displayed by web interface.

SEE ALSO

Lemonldap::NG::Manager::Conf::Parser, Lemonldap::NG::Manager, http://lemonldap-ng.org/

AUTHORS

Clement Oudot, <clem.oudot@gmail.com>
François-Xavier Deltombe, <fxdeltombe@gmail.com.>
Xavier Guimard, <x.guimard@free.fr>
Thomas Chemineau, <thomas.chemineau@gmail.com>

BUG REPORT

Use OW2 system to report bug or ask for features: https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues

DOWNLOAD

Lemonldap::NG is available at http://forge.objectweb.org/project/showfiles.php?group_id=274

COPYRIGHT AND LICENSE

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.