2016-01-11 07:27:16 +01:00
|
|
|
# This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand
|
2008-11-17 17:59:56 +01:00
|
|
|
package Lemonldap::NG::Common::Conf::Constants;
|
2007-03-04 15:52:51 +01:00
|
|
|
|
|
|
|
use strict;
|
|
|
|
use Exporter 'import';
|
2008-12-04 14:53:05 +01:00
|
|
|
use base qw(Exporter);
|
2016-01-11 07:27:16 +01:00
|
|
|
|
2016-03-17 23:19:44 +01:00
|
|
|
our $VERSION = '2.0.0';
|
2007-03-04 15:52:51 +01:00
|
|
|
|
|
|
|
# CONSTANTS
|
|
|
|
|
|
|
|
use constant CONFIG_WAS_CHANGED => -1;
|
2007-03-18 19:33:38 +01:00
|
|
|
use constant UNKNOWN_ERROR => -2;
|
|
|
|
use constant DATABASE_LOCKED => -3;
|
|
|
|
use constant UPLOAD_DENIED => -4;
|
2007-03-25 21:49:12 +02:00
|
|
|
use constant SYNTAX_ERROR => -5;
|
2010-01-01 13:04:26 +01:00
|
|
|
use constant DEPRECATED => -6;
|
|
|
|
use constant DEFAULTCONFFILE => "/usr/local/lemonldap-ng/etc/lemonldap-ng.ini";
|
|
|
|
use constant DEFAULTSECTION => "all";
|
|
|
|
use constant CONFSECTION => "configuration";
|
|
|
|
use constant PORTALSECTION => "portal";
|
|
|
|
use constant HANDLERSECTION => "handler";
|
|
|
|
use constant MANAGERSECTION => "manager";
|
2011-01-21 17:45:53 +01:00
|
|
|
use constant SESSIONSEXPLORERSECTION => "sessionsExplorer";
|
2011-01-25 17:41:31 +01:00
|
|
|
use constant APPLYSECTION => "apply";
|
2016-03-31 22:08:40 +02:00
|
|
|
our $hashParameters = qr/^(?:(?:l(?:o(?:ca(?:lSessionStorageOption|tionRule)|goutService)|dapExportedVar)|(?:(?:d(?:emo|bi)|facebook|webID)ExportedVa|exported(?:Heade|Va))r|g(?:r(?:antSessionRule|oup)|lobalStorageOption|oogleExportedVar)|ca(?:s(?:StorageOption|Attribute)|ptchaStorageOption)|re(?:moteGlobalStorageOption|loadUrl)|notificationStorageOption|CASproxiedService|macro)s|o(?:idc(?:OPMetaData(?:(?:ExportedVar|Option)s|J(?:SON|WKS)|Node)|S(?:erviceMetaDataAuthnContext|torageOptions)|RPMetaData(?:(?:ExportedVar|Option)s|Node))|penIdExportedVars)|s(?:aml(?:S(?:PMetaData(?:(?:ExportedAttribute|Option)s|Node|XML)|torageOptions)|IDPMetaData(?:(?:ExportedAttribute|Option)s|Node|XML))|essionDataToRemember|laveExportedVars)|p(?:ersistentStorageOptions|o(?:rtalSkinRules|st))|a(?:uthChoiceModules|pplicationList)|v(?:hostOptions|irtualHost))$/;
|
2016-01-11 07:27:16 +01:00
|
|
|
|
2010-01-01 13:04:26 +01:00
|
|
|
|
|
|
|
our %EXPORT_TAGS = (
|
|
|
|
'all' => [
|
|
|
|
qw(
|
|
|
|
CONFIG_WAS_CHANGED
|
|
|
|
UNKNOWN_ERROR
|
|
|
|
DATABASE_LOCKED
|
|
|
|
UPLOAD_DENIED
|
|
|
|
SYNTAX_ERROR
|
|
|
|
DEPRECATED
|
|
|
|
DEFAULTCONFFILE
|
|
|
|
DEFAULTSECTION
|
|
|
|
CONFSECTION
|
|
|
|
PORTALSECTION
|
|
|
|
HANDLERSECTION
|
|
|
|
MANAGERSECTION
|
2011-01-21 17:45:53 +01:00
|
|
|
SESSIONSEXPLORERSECTION
|
2010-01-01 13:04:26 +01:00
|
|
|
APPLYSECTION
|
2016-01-11 07:27:16 +01:00
|
|
|
$hashParameters
|
2010-01-01 13:04:26 +01:00
|
|
|
)
|
|
|
|
]
|
|
|
|
);
|
2016-01-11 07:27:16 +01:00
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
|
|
|
|
our @EXPORT = ( @{ $EXPORT_TAGS{'all'} } );
|
2007-03-04 15:52:51 +01:00
|
|
|
|
|
|
|
1;
|