Lemonldap::NG::Common::Conf
Perl extension written to manage Lemonldap::NG Web-SSO configuration.
- Provided by: liblemonldap-ng-common-perl (Version: 1.4.6-3)
- Source: lemonldap-ng
- Report a bug
Perl extension written to manage Lemonldap::NG Web-SSO configuration.
use Lemonldap::NG::Common::Conf;
my $confAccess = new Lemonldap::NG::Common::Conf(
{
type=>'File',
dirName=>"/tmp/",
# To use local cache, set :
localStorage => "Cache::FileCache",
localStorageOptions = {
'namespace' => 'lemonldap-ng-config',
'default_expires_in' => 600,
'directory_umask' => '007',
'cache_root' => '/tmp',
'cache_depth' => 5,
},
},
) or die "Unable to build Lemonldap::NG::Common::Conf, see Apache logs";
my $config = $confAccess->getConf();
Lemonldap::NG::Common::Conf provides a simple interface to access to Lemonldap::NG Web-SSO configuration. It is used by Lemonldap::NG::Handler, Lemonldap::NG::Portal and Lemonldap::NG::Manager.
SOAP configuration access is a sort of proxy: the portal is configured to use the real session storage type (DBI or File for example). See HTML documentation for more.
WARNING: You have to use the same storage type on all Lemonldap::NG parts in the same server.
Lemonldap::NG::Handler, Lemonldap::NG::Portal, <http://lemonldap-ng.org/>
Use OW2 system to report bug or ask for features: <http://jira.ow2.org>
Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274>
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/>.