« blib/lib/Lemonldap/NG/Common/Logger/Log4perl.pm
↑ Summary
blib/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm »
| 1 | # This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand | ||
| 2 | package Lemonldap::NG::Common::Conf::Constants; | ||
| 3 | |||
| 4 | 16 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 16 | ▶ | use Exporter 'import'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 16 | ▶ | use base qw(Exporter); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 16 | our $VERSION = '2.23.3'; | |
| 9 | |||
| 10 | # CONSTANTS | ||
| 11 | |||
| 12 | 16 | ▶ | use constant CONFIG_WAS_CHANGED => -1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 16 | ▶ | use constant UNKNOWN_ERROR => -2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 16 | ▶ | use constant DATABASE_LOCKED => -3; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 16 | ▶ | use constant UPLOAD_DENIED => -4; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 16 | ▶ | use constant SYNTAX_ERROR => -5; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 16 | ▶ | use constant DEPRECATED => -6; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 16 | ▶ | use constant DEFAULTCONFFILE => "/usr/local/lemonldap-ng/etc/lemonldap-ng.ini"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 16 | ▶ | use constant DEFAULTSECTION => "all"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 16 | ▶ | use constant CONFSECTION => "configuration"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 16 | ▶ | use constant PORTALSECTION => "portal"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 16 | ▶ | use constant HANDLERSECTION => "handler"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 16 | ▶ | use constant MANAGERSECTION => "manager"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 16 | ▶ | use constant SESSIONSEXPLORERSECTION => "sessionsExplorer"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 16 | ▶ | use constant APPLYSECTION => "apply"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | |||
| 27 | # Default configuration backend | ||
| 28 | 16 | ▶ | use constant DEFAULTCONFBACKEND => "File"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | 16 | ▶ | use constant DEFAULTCONFBACKENDOPTIONS => ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 30 | dirName => '/usr/local/lemonldap-ng/data/conf', | ||
| 31 | 16 | ); | |
| 32 | 16 | our $hashParameters = qr/^(?:(?:r(?:e(?:st(?:Pwd(?:Confirm|Modify)|2f(?:Verify|Init)|(?:Find)?UserDB|Auth)Arg|moteGlobalStorageOption|loadUrl)|adius(?:(?:2f)?RequestAttribute|ExportedVar))|l(?:o(?:ca(?:lSessionStorageOption|tionRule)|goutService)|dapExportedVar|wp(?:Ssl)?Opt)|(?:(?:d(?:emo|bi)|webID)ExportedVa|exported(?:Heade|Va)|issuerDBGetParamete)r|f(?:indUser(?:Exclud|Search)ingAttribute|acebookExportedVar)|g(?:r(?:antSessionRule|oup)|lobalStorageOption)|n(?:otificationStorageOption|ginxCustomHandler)|m(?:essageBrokerOption|acro))s|o(?:idc(?:S(?:ervice(?:DynamicRegistrationEx(?:portedVar|traClaim)s|MetaDataA(?:uthnContext|mrRules))|torageOptions)|RPMetaData(?:(?:Option(?:sExtraClaim)?|ExportedVar|ScopeRule|Macro)s|Node)|OPMetaData(?:(?:ExportedVar|Option)s|J(?:SON|WKS)|Node))|penIdExportedVars)|s(?:aml(?:S(?:PMetaData(?:(?:ExportedAttribute|Option|Macro)s|(?:UR|XM)L|Node)|torageOptions)|IDPMetaData(?:(?:ExportedAttribute|Option)s|(?:UR|XM)L|Node)|AuthnContextMapExtra)|essionDataToRemember|laveExportedVars|fExtra)|c(?:a(?:s(?:A(?:ppMetaData(?:(?:ExportedVar|Option|Macro)s|Node)|ttributes)|S(?:rvMetaData(?:(?:ExportedVar|Option)s|Node)|torageOptions))|ptchaOptions)|(?:ustom(?:Plugins|Add)Param|heckUserHiddenHeader|ombModule)s)|a(?:(?:daptativeAuthenticationLevelR|ut(?:hChoiceMod|oSigninR))ules|pplicationList)|p(?:o(?:rtal(?:CustomTplParam|SkinRule)s|st)|ersistentStorageOptions)|v(?:hostOptions|irtualHost)|S(?:MTPTLSOpts|SLVarIf)|key(?:Node|s))$/; | |
| 33 | 16 | our $arrayParameters = qr/^mySessionAuthorizedRWKeys$/; | |
| 34 | 16 | our $boolKeys = qr/^(?:s(?:aml(?:S(?:P(?:MetaDataOptions(?:(?:CheckS[LS]OMessageSignatur|OneTimeUs)e|Force(?:NameIDFormat|UTF8)|EnableIDPInitiatedURL|Activation)|SSODescriptor(?:WantAssertion|AuthnRequest)sSigned)|erviceUseCertificateInResponse)|IDP(?:MetaDataOptions(?:(?:Check(?:S[LS]OMessageSignatur|Audienc|Tim)|IsPassiv)e|A(?:daptSessionUtime|llowLoginFromIDP)|Force(?:Authn|UTF8)|StoreSAMLToken|RelayStateURL)|SSODescriptorWantAuthnRequestsSigned)|DiscoveryProtocol(?:Activation|IsPassive)|CommonDomainCookieActivation|UseQueryStringSpecific|MetadataForceUTF8)|t(?:ayConnected(?:SingleSession|BypassFG)|orePasswor(?:dEncrypte)?d)|f(?:RemovedUseNotif|OnlyUpgrade)|kip(?:Upgrade|Renew)Confirmation|oap(?:Session|Config)Server|laveDisplayLogo|howLanguages|slByAjax)|o(?:idc(?:RPMetaDataOptions(?:A(?:llow(?:(?:ClientCredentials|Password)Grant|NativeSso|Offline)|uth(?:nRequire(?:Nonc|Stat)|RequiredForAuthoriz)e|c(?:cessToken(?:Claims|JWT)|tivation))|(?:UserinfoRequireHeaderToke|RefreshToke(?:nRotatio)?)n|Logout(?:SessionRequired|BypassConfirm)|IDTokenForceClaims|BypassConsent|NoJwtHeader|Public)|Service(?:Allow(?:(?:AuthorizationCode|Implicit|Hybrid)Flow|OnlyDeclaredScopes)|MetaDataDisallowNoneAlg|IgnoreScopeForClaims|HideMetadata)|O(?:PMetaDataOptions(?:(?:CheckJWTSignatur|UseNonc)e|Require(?:Pkce|Iss)|StoreIDToken|NoJwtHeader)|fflineTokens)|DropCspHeaders)|ldNotifFormat)|c(?:as(?:S(?:rvMetaDataOptions(?:SamlValidate|Gateway|Renew)|trictMatching)|AppMetaDataOptionsA(?:ctivation|llowProxy)|BackChannelSingleLogout)|heck(?:DevOps(?:D(?:isplayNormalizedHeaders|ownload)|CheckSessionAttributes)?|Entropy(?:Required)?|HIBP(?:Required)?|State|User|XSS)|o(?:ntextSwitching(?:Allowed2fModifications|StopWithLogout)|mpactConf|rsEnabled)|rowdsecIgnoreFailures|da)|p(?:ortal(?:Display(?:Re(?:freshMyRights|setPassword|gister)|CertificateResetByMail|GeneratePassword|PasswordPolicy)|E(?:rrorOn(?:ExpiredSession|MailNotFound)|nablePasswordDisplay)|(?:CheckLogin|Statu)s|OpenLinkInNewWindow|ForceAuthn|AntiFrame)|roxy(?:AuthServiceImpersonation|UseSoap)|assword2fUserCanRemoveKey|ublicNotifications)|l(?:dap(?:(?:G(?:roup(?:DecodeSearchedValu|Recursiv)|etUserBeforePasswordChang)|UsePasswordResetAttribut)e|(?:AllowResetExpired|Set)Password|ChangePasswordAsUser|PpolicyControl|ITDS)|o(?:ginHistoryEnabled|cationDetect))|r(?:e(?:st(?:(?:Password|Session|Config|Auth)Server|ExportSecretKeys)|member(?:AuthChoiceForgetAtLogout|DefaultChecked)|freshSessions)|adius(?:2f(?:SendInitialRequest|MsgAuth)|MsgAuth))|i(?:ssuerDB(?:OpenID(?:Connect)?|JitsiMeetTokens|SAML|CAS|Get)Activation|mpersonationSkipEmptyValues|nitializePasswordReset)|n(?:o(?:tif(?:ication(?:Server(?:(?:POS|GE)T|DELETE)?|sExplorer)?|y(?:Deleted|Other))|AjaxHook)|ewLocationWarning)|t(?:o(?:tp2f(?:UserCanRemoveKey|EncryptSecret)|kenUseGlobalStorage)|rustedBrowserUseTotp)|u(?:se(?:Redirect(?:On(?:Forbidden|Error)|AjaxOnUnauthorized)|SafeJail)|pgradeSession)|a(?:ppAccessHistoryEnabled|uthChoiceSelectOnly|voidAssignment|ctiveTimer)|br(?:uteForceProtection(?:IncrementalTempo)?|owsersDontStorePassword)|d(?:is(?:ablePersistentStorage|playSessionId)|biDynamicHashEnabled)|(?:mai(?:lOnPasswordChang|ntenanc)|vhostMaintenanc)e|w(?:ebauthn(?:2fUserCanRemoveKey|AppId)|sdlServer)|h(?:ashedSessionStore|ideOldPassword|ttpOnly)|g(?:roupsBeforeMacros|lobalLogoutTimer)|yubikey2fUserCanRemoveKey|krb(?:RemoveDomain|ByJs)|findUser)$/; | |
| 35 | |||
| 36 | 16 | our @sessionTypes = ( 'remoteGlobal', 'global', 'localSession', 'persistent', 'saml', 'oidc', 'cas' ); | |
| 37 | |||
| 38 | 0 | ▶ | sub NO {qr/^(?:off|no|0)?$/i} |
|
Subroutine
NO: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 39 | |||
| 40 | 16 | our %EXPORT_TAGS = ( | |
| 41 | 'all' => [ | ||
| 42 | qw( | ||
| 43 | CONFIG_WAS_CHANGED | ||
| 44 | UNKNOWN_ERROR | ||
| 45 | DATABASE_LOCKED | ||
| 46 | UPLOAD_DENIED | ||
| 47 | SYNTAX_ERROR | ||
| 48 | DEPRECATED | ||
| 49 | DEFAULTCONFFILE | ||
| 50 | DEFAULTSECTION | ||
| 51 | CONFSECTION | ||
| 52 | PORTALSECTION | ||
| 53 | HANDLERSECTION | ||
| 54 | MANAGERSECTION | ||
| 55 | SESSIONSEXPLORERSECTION | ||
| 56 | APPLYSECTION | ||
| 57 | DEFAULTCONFBACKEND | ||
| 58 | DEFAULTCONFBACKENDOPTIONS | ||
| 59 | NO | ||
| 60 | $hashParameters | ||
| 61 | $arrayParameters | ||
| 62 | @sessionTypes | ||
| 63 | $boolKeys | ||
| 64 | ) | ||
| 65 | ] | ||
| 66 | ); | ||
| 67 | 16 | our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |
| 68 | 16 | our @EXPORT = ( @{ $EXPORT_TAGS{'all'} } ); | |
| 69 | |||
| 70 | 16 | 1; | |