# This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand package Lemonldap::NG::Common::Conf::Constants; use strict; use Exporter 'import'; use base qw(Exporter); our $VERSION = '2.0.0'; # CONSTANTS use constant CONFIG_WAS_CHANGED => -1; use constant UNKNOWN_ERROR => -2; use constant DATABASE_LOCKED => -3; use constant UPLOAD_DENIED => -4; use constant SYNTAX_ERROR => -5; 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"; use constant SESSIONSEXPLORERSECTION => "sessionsExplorer"; use constant APPLYSECTION => "apply"; our $hashParameters = qr/^(?:(?:l(?:o(?:ca(?:lSessionStorageOption|tionRule)|goutService)|dapExportedVar|wp(?:Ssl)?Opt)|(?:(?:d(?:emo|bi)|facebook|webID)ExportedVa|exported(?:Heade|Va))r|g(?:r(?:antSessionRule|oup)|lobalStorageOption)|n(?:otificationStorageOption|ginxCustomHandler)|c(?:as(?:StorageOption|Attribute)|ombModule)|re(?:moteGlobalStorageOption|loadUrl)|CAS_proxiedService|macro)s|o(?:idc(?:RPMetaData(?:(?:Option(?:sExtraClaim)?|ExportedVar)s|Node)|OPMetaData(?:(?:ExportedVar|Option)s|J(?:SON|WKS)|Node)|S(?:erviceMetaDataAuthnContext|torageOptions))|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)|SSLVarIf)$/; our @sessionTypes = ( 'remoteGlobal', 'cas', 'global', 'localSession', 'persistent', 'saml', 'oidc' ); sub NO {qr/^(?:off|no|0)?$/i} our %EXPORT_TAGS = ( 'all' => [ qw( CONFIG_WAS_CHANGED UNKNOWN_ERROR DATABASE_LOCKED UPLOAD_DENIED SYNTAX_ERROR DEPRECATED DEFAULTCONFFILE DEFAULTSECTION CONFSECTION PORTALSECTION HANDLERSECTION MANAGERSECTION SESSIONSEXPLORERSECTION APPLYSECTION NO $hashParameters @sessionTypes ) ] ); our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); our @EXPORT = ( @{ $EXPORT_TAGS{'all'} } ); 1;