|
|
|
@ -5,250 +5,234 @@ our $VERSION = '2.0.0'; |
|
|
|
|
|
|
|
|
|
sub defaultValues { |
|
|
|
|
return { |
|
|
|
|
'activeTimer' => 1, |
|
|
|
|
'ADPwdExpireWarning' => 0, |
|
|
|
|
'ADPwdMaxAge' => 0, |
|
|
|
|
'apacheAuthnLevel' => 4, |
|
|
|
|
'applicationList' => { |
|
|
|
|
'default' => { |
|
|
|
|
'catname' => 'Default category', |
|
|
|
|
'type' => 'category' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
'authChoiceParam' => 'lmAuth', |
|
|
|
|
'authentication' => 'Demo', |
|
|
|
|
'captcha_mail_enabled' => 1, |
|
|
|
|
'captcha_register_enabled' => 1, |
|
|
|
|
'captcha_size' => 6, |
|
|
|
|
'casAccessControlPolicy' => 'none', |
|
|
|
|
'casAuthnLevel' => 1, |
|
|
|
|
'checkXSS' => 1, |
|
|
|
|
'confirmFormMethod' => 'post', |
|
|
|
|
'cookieName' => 'lemonldap', |
|
|
|
|
'cspConnect' => '\'self\'', |
|
|
|
|
'cspDefault' => '\'self\'', |
|
|
|
|
'cspFont' => '\'self\'', |
|
|
|
|
'cspImg' => '\'self\' data:', |
|
|
|
|
'cspScript' => '\'self\'', |
|
|
|
|
'cspStyle' => '\'self\'', |
|
|
|
|
'dbiAuthnLevel' => 2, |
|
|
|
|
'dbiExportedVars' => {}, |
|
|
|
|
'demoExportedVars' => { |
|
|
|
|
'cn' => 'cn', |
|
|
|
|
'mail' => 'mail', |
|
|
|
|
'uid' => 'uid' |
|
|
|
|
}, |
|
|
|
|
'domain' => 'example.com', |
|
|
|
|
'exportedVars' => { |
|
|
|
|
'UA' => 'HTTP_USER_AGENT' |
|
|
|
|
}, |
|
|
|
|
'ext2fActivation' => 0, |
|
|
|
|
'facebookAuthnLevel' => 1, |
|
|
|
|
'facebookExportedVars' => {}, |
|
|
|
|
'failedLoginNumber' => 5, |
|
|
|
|
'formTimeout' => 120, |
|
|
|
|
'globalStorage' => 'Apache::Session::File', |
|
|
|
|
'globalStorageOptions' => { |
|
|
|
|
'Directory' => '/var/lib/lemonldap-ng/sessions/', |
|
|
|
|
'generateModule' => |
|
|
|
|
'Lemonldap::NG::Common::Apache::Session::Generate::SHA256', |
|
|
|
|
'LockDirectory' => '/var/lib/lemonldap-ng/sessions/lock/' |
|
|
|
|
}, |
|
|
|
|
'groups' => {}, |
|
|
|
|
'hiddenAttributes' => '_password', |
|
|
|
|
'httpOnly' => 1, |
|
|
|
|
'infoFormMethod' => 'get', |
|
|
|
|
'issuerDBCASPath' => '^/cas/', |
|
|
|
|
'issuerDBCASRule' => 1, |
|
|
|
|
'issuerDBGetParameters' => {}, |
|
|
|
|
'issuerDBGetPath' => '^/get/', |
|
|
|
|
'issuerDBGetRule' => 1, |
|
|
|
|
'issuerDBOpenIDConnectPath' => '^/oauth2/', |
|
|
|
|
'issuerDBOpenIDConnectRule' => 1, |
|
|
|
|
'issuerDBOpenIDPath' => '^/openidserver/', |
|
|
|
|
'issuerDBOpenIDRule' => 1, |
|
|
|
|
'issuerDBSAMLPath' => '^/saml/', |
|
|
|
|
'issuerDBSAMLRule' => 1, |
|
|
|
|
'jsRedirect' => 0, |
|
|
|
|
'krbAuthnLevel' => 3, |
|
|
|
|
'ldapAuthnLevel' => 2, |
|
|
|
|
'ldapBase' => 'dc=example,dc=com', |
|
|
|
|
'ldapExportedVars' => { |
|
|
|
|
'cn' => 'cn', |
|
|
|
|
'mail' => 'mail', |
|
|
|
|
'uid' => 'uid' |
|
|
|
|
}, |
|
|
|
|
'ldapGroupAttributeName' => 'member', |
|
|
|
|
'ldapGroupAttributeNameGroup' => 'dn', |
|
|
|
|
'ldapGroupAttributeNameSearch' => 'cn', |
|
|
|
|
'ldapGroupAttributeNameUser' => 'dn', |
|
|
|
|
'ldapGroupObjectClass' => 'groupOfNames', |
|
|
|
|
'ldapPasswordResetAttribute' => 'pwdReset', |
|
|
|
|
'ldapPasswordResetAttributeValue' => 'TRUE', |
|
|
|
|
'ldapPort' => 389, |
|
|
|
|
'ldapPwdEnc' => 'utf-8', |
|
|
|
|
'ldapSearchDeref' => 'find', |
|
|
|
|
'ldapServer' => 'ldap://localhost', |
|
|
|
|
'ldapTimeout' => 120, |
|
|
|
|
'ldapUsePasswordResetAttribute' => 1, |
|
|
|
|
'ldapVersion' => 3, |
|
|
|
|
'localSessionStorage' => 'Cache::FileCache', |
|
|
|
|
'localSessionStorageOptions' => { |
|
|
|
|
'cache_depth' => 3, |
|
|
|
|
'cache_root' => '/tmp', |
|
|
|
|
'default_expires_in' => 600, |
|
|
|
|
'directory_umask' => '007', |
|
|
|
|
'namespace' => 'lemonldap-ng-sessions' |
|
|
|
|
}, |
|
|
|
|
'locationRules' => { |
|
|
|
|
'default' => 'deny' |
|
|
|
|
}, |
|
|
|
|
'logoutServices' => {}, |
|
|
|
|
'macros' => {}, |
|
|
|
|
'mailCharset' => 'utf-8', |
|
|
|
|
'mailFrom' => 'noreply@example.com', |
|
|
|
|
'mailSessionKey' => 'mail', |
|
|
|
|
'mailTimeout' => 0, |
|
|
|
|
'mailUrl' => 'http://auth.example.com/resetpwd', |
|
|
|
|
'managerDn' => '', |
|
|
|
|
'managerPassword' => '', |
|
|
|
|
'multiValuesSeparator' => '; ', |
|
|
|
|
'notificationStorage' => 'File', |
|
|
|
|
'notificationStorageOptions' => { |
|
|
|
|
'dirName' => '/var/lib/lemonldap-ng/notifications' |
|
|
|
|
}, |
|
|
|
|
'notificationWildcard' => 'allusers', |
|
|
|
|
'notifyDeleted' => 1, |
|
|
|
|
'nullAuthnLevel' => 0, |
|
|
|
|
'oidcAuthnLevel' => 1, |
|
|
|
|
'oidcRPCallbackGetParam' => 'openidconnectcallback', |
|
|
|
|
'oidcRPStateTimeout' => 600, |
|
|
|
|
'oidcServiceAllowAuthorizationCodeFlow' => 1, |
|
|
|
|
'oidcServiceMetaDataAuthnContext' => { |
|
|
|
|
'loa-1' => 1, |
|
|
|
|
'loa-2' => 2, |
|
|
|
|
'loa-3' => 3, |
|
|
|
|
'loa-4' => 4, |
|
|
|
|
'loa-5' => 5 |
|
|
|
|
}, |
|
|
|
|
'oidcServiceMetaDataAuthorizeURI' => 'authorize', |
|
|
|
|
'oidcServiceMetaDataBackChannelURI' => 'blogout', |
|
|
|
|
'oidcServiceMetaDataCheckSessionURI' => 'checksession.html', |
|
|
|
|
'oidcServiceMetaDataEndSessionURI' => 'logout', |
|
|
|
|
'oidcServiceMetaDataFrontChannelURI' => 'flogout', |
|
|
|
|
'oidcServiceMetaDataIssuer' => 'http://auth.example.com', |
|
|
|
|
'oidcServiceMetaDataJWKSURI' => 'jwks', |
|
|
|
|
'oidcServiceMetaDataRegistrationURI' => 'register', |
|
|
|
|
'oidcServiceMetaDataTokenURI' => 'token', |
|
|
|
|
'oidcServiceMetaDataUserInfoURI' => 'userinfo', |
|
|
|
|
'openIdAuthnLevel' => 1, |
|
|
|
|
'openIdExportedVars' => {}, |
|
|
|
|
'openIdIDPList' => '0;', |
|
|
|
|
'openIdSPList' => '0;', |
|
|
|
|
'openIdSreg_email' => 'mail', |
|
|
|
|
'openIdSreg_fullname' => 'cn', |
|
|
|
|
'openIdSreg_nickname' => 'uid', |
|
|
|
|
'openIdSreg_timezone' => '_timezone', |
|
|
|
|
'pamAuthnLevel' => 2, |
|
|
|
|
'pamService' => 'login', |
|
|
|
|
'passwordDB' => 'Demo', |
|
|
|
|
'portal' => 'http://auth.example.com/', |
|
|
|
|
'portalAntiFrame' => 1, |
|
|
|
|
'portalCheckLogins' => 1, |
|
|
|
|
'portalDisplayAppslist' => 1, |
|
|
|
|
'portalDisplayChangePassword' => '$_auth =~ /^(LDAP|DBI|Demo)$/', |
|
|
|
|
'portalDisplayLoginHistory' => 1, |
|
|
|
|
'portalDisplayLogout' => 1, |
|
|
|
|
'portalDisplayRegister' => 1, |
|
|
|
|
'portalErrorOnExpiredSession' => 1, |
|
|
|
|
'portalForceAuthnInterval' => 5, |
|
|
|
|
'portalPingInterval' => 60000, |
|
|
|
|
'portalRequireOldPassword' => 1, |
|
|
|
|
'portalSkin' => 'bootstrap', |
|
|
|
|
'portalUserAttr' => '_user', |
|
|
|
|
'proxyAuthnLevel' => 2, |
|
|
|
|
'radiusAuthnLevel' => 3, |
|
|
|
|
'randomPasswordRegexp' => '[A-Z]{3}[a-z]{5}.\\d{2}', |
|
|
|
|
'redirectFormMethod' => 'get', |
|
|
|
|
'registerDB' => 'Null', |
|
|
|
|
'registerTimeout' => 0, |
|
|
|
|
'remoteGlobalStorage' => 'Lemonldap::NG::Common::Apache::Session::SOAP', |
|
|
|
|
'remoteGlobalStorageOptions' => { |
|
|
|
|
'ns' => |
|
|
|
|
'http://auth.example.com/Lemonldap/NG/Common/PSGI/SOAPService', |
|
|
|
|
'proxy' => 'http://auth.example.com/sessions' |
|
|
|
|
}, |
|
|
|
|
'requireToken' => 1, |
|
|
|
|
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;', |
|
|
|
|
'samlAuthnContextMapKerberos' => 4, |
|
|
|
|
'samlAuthnContextMapPassword' => 2, |
|
|
|
|
'samlAuthnContextMapPasswordProtectedTransport' => 3, |
|
|
|
|
'samlAuthnContextMapTLSClient' => 5, |
|
|
|
|
'samlEntityID' => '#PORTAL#/saml/metadata', |
|
|
|
|
'samlIdPResolveCookie' => 'lemonldapidp', |
|
|
|
|
'samlIDPSSODescriptorArtifactResolutionServiceArtifact' => |
|
|
|
|
'1;0;urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/artifact', |
|
|
|
|
'samlIDPSSODescriptorSingleLogoutServiceHTTPPost' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn', |
|
|
|
|
'samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn', |
|
|
|
|
'samlIDPSSODescriptorSingleLogoutServiceSOAP' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleLogoutSOAP;', |
|
|
|
|
'samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact;#PORTAL#/saml/singleSignOnArtifact;', |
|
|
|
|
'samlIDPSSODescriptorSingleSignOnServiceHTTPPost' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleSignOn;', |
|
|
|
|
'samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleSignOn;', |
|
|
|
|
'samlIDPSSODescriptorWantAuthnRequestsSigned' => 1, |
|
|
|
|
'samlMetadataForceUTF8' => 1, |
|
|
|
|
'samlNameIDFormatMapEmail' => 'mail', |
|
|
|
|
'samlNameIDFormatMapKerberos' => 'uid', |
|
|
|
|
'samlNameIDFormatMapWindows' => 'uid', |
|
|
|
|
'samlNameIDFormatMapX509' => 'mail', |
|
|
|
|
'samlOrganizationDisplayName' => 'Example', |
|
|
|
|
'samlOrganizationName' => 'Example', |
|
|
|
|
'samlOrganizationURL' => 'http://www.example.com', |
|
|
|
|
'samlRelayStateTimeout' => 600, |
|
|
|
|
'samlSPSSODescriptorArtifactResolutionServiceArtifact' => |
|
|
|
|
'1;0;urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/artifact', |
|
|
|
|
'samlSPSSODescriptorAssertionConsumerServiceHTTPArtifact' => |
|
|
|
|
'1;0;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact;#PORTAL#/saml/proxySingleSignOnArtifact', |
|
|
|
|
'samlSPSSODescriptorAssertionConsumerServiceHTTPPost' => |
|
|
|
|
'0;1;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/proxySingleSignOnPost', |
|
|
|
|
'samlSPSSODescriptorAuthnRequestsSigned' => 1, |
|
|
|
|
'samlSPSSODescriptorSingleLogoutServiceHTTPPost' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/proxySingleLogout;#PORTAL#/saml/proxySingleLogoutReturn', |
|
|
|
|
'samlSPSSODescriptorSingleLogoutServiceHTTPRedirect' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/proxySingleLogout;#PORTAL#/saml/proxySingleLogoutReturn', |
|
|
|
|
'samlSPSSODescriptorSingleLogoutServiceSOAP' => |
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/proxySingleLogoutSOAP;', |
|
|
|
|
'samlSPSSODescriptorWantAssertionsSigned' => 1, |
|
|
|
|
'securedCookie' => 0, |
|
|
|
|
'slaveAuthnLevel' => 2, |
|
|
|
|
'slaveExportedVars' => {}, |
|
|
|
|
'SMTPServer' => '', |
|
|
|
|
'SMTPTLS' => '', |
|
|
|
|
'SSLAuthnLevel' => 5, |
|
|
|
|
'successLoginNumber' => 5, |
|
|
|
|
'timeout' => 72000, |
|
|
|
|
'timeoutActivity' => 0, |
|
|
|
|
'timeoutActivityInterval' => 60, |
|
|
|
|
'trustedProxies' => '', |
|
|
|
|
'twitterAuthnLevel' => 1, |
|
|
|
|
'u2fActivation' => 0, |
|
|
|
|
'upgradeSession' => 1, |
|
|
|
|
'userControl' => '^[\\w\\.\\-@]+$', |
|
|
|
|
'userDB' => 'Same', |
|
|
|
|
'useRedirectOnError' => 1, |
|
|
|
|
'useSafeJail' => 1, |
|
|
|
|
'webIDAuthnLevel' => 1, |
|
|
|
|
'webIDExportedVars' => {}, |
|
|
|
|
'whatToTrace' => 'uid', |
|
|
|
|
'yubikeyAuthnLevel' => 3, |
|
|
|
|
'yubikeyPublicIDSize' => 12 |
|
|
|
|
}; |
|
|
|
|
'activeTimer' => 1, |
|
|
|
|
'ADPwdExpireWarning' => 0, |
|
|
|
|
'ADPwdMaxAge' => 0, |
|
|
|
|
'apacheAuthnLevel' => 4, |
|
|
|
|
'applicationList' => { |
|
|
|
|
'default' => { |
|
|
|
|
'catname' => 'Default category', |
|
|
|
|
'type' => 'category' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
'authChoiceParam' => 'lmAuth', |
|
|
|
|
'authentication' => 'Demo', |
|
|
|
|
'captcha_mail_enabled' => 1, |
|
|
|
|
'captcha_register_enabled' => 1, |
|
|
|
|
'captcha_size' => 6, |
|
|
|
|
'casAccessControlPolicy' => 'none', |
|
|
|
|
'casAuthnLevel' => 1, |
|
|
|
|
'checkXSS' => 1, |
|
|
|
|
'confirmFormMethod' => 'post', |
|
|
|
|
'cookieName' => 'lemonldap', |
|
|
|
|
'cspConnect' => '\'self\'', |
|
|
|
|
'cspDefault' => '\'self\'', |
|
|
|
|
'cspFont' => '\'self\'', |
|
|
|
|
'cspImg' => '\'self\' data:', |
|
|
|
|
'cspScript' => '\'self\'', |
|
|
|
|
'cspStyle' => '\'self\'', |
|
|
|
|
'dbiAuthnLevel' => 2, |
|
|
|
|
'dbiExportedVars' => {}, |
|
|
|
|
'demoExportedVars' => { |
|
|
|
|
'cn' => 'cn', |
|
|
|
|
'mail' => 'mail', |
|
|
|
|
'uid' => 'uid' |
|
|
|
|
}, |
|
|
|
|
'domain' => 'example.com', |
|
|
|
|
'exportedVars' => { |
|
|
|
|
'UA' => 'HTTP_USER_AGENT' |
|
|
|
|
}, |
|
|
|
|
'ext2fActivation' => 0, |
|
|
|
|
'facebookAuthnLevel' => 1, |
|
|
|
|
'facebookExportedVars' => {}, |
|
|
|
|
'failedLoginNumber' => 5, |
|
|
|
|
'formTimeout' => 120, |
|
|
|
|
'globalStorage' => 'Apache::Session::File', |
|
|
|
|
'globalStorageOptions' => { |
|
|
|
|
'Directory' => '/var/lib/lemonldap-ng/sessions/', |
|
|
|
|
'generateModule' => 'Lemonldap::NG::Common::Apache::Session::Generate::SHA256', |
|
|
|
|
'LockDirectory' => '/var/lib/lemonldap-ng/sessions/lock/' |
|
|
|
|
}, |
|
|
|
|
'groups' => {}, |
|
|
|
|
'hiddenAttributes' => '_password', |
|
|
|
|
'httpOnly' => 1, |
|
|
|
|
'infoFormMethod' => 'get', |
|
|
|
|
'issuerDBCASPath' => '^/cas/', |
|
|
|
|
'issuerDBCASRule' => 1, |
|
|
|
|
'issuerDBGetParameters' => {}, |
|
|
|
|
'issuerDBGetPath' => '^/get/', |
|
|
|
|
'issuerDBGetRule' => 1, |
|
|
|
|
'issuerDBOpenIDConnectPath' => '^/oauth2/', |
|
|
|
|
'issuerDBOpenIDConnectRule' => 1, |
|
|
|
|
'issuerDBOpenIDPath' => '^/openidserver/', |
|
|
|
|
'issuerDBOpenIDRule' => 1, |
|
|
|
|
'issuerDBSAMLPath' => '^/saml/', |
|
|
|
|
'issuerDBSAMLRule' => 1, |
|
|
|
|
'jsRedirect' => 0, |
|
|
|
|
'krbAuthnLevel' => 3, |
|
|
|
|
'ldapAuthnLevel' => 2, |
|
|
|
|
'ldapBase' => 'dc=example,dc=com', |
|
|
|
|
'ldapExportedVars' => { |
|
|
|
|
'cn' => 'cn', |
|
|
|
|
'mail' => 'mail', |
|
|
|
|
'uid' => 'uid' |
|
|
|
|
}, |
|
|
|
|
'ldapGroupAttributeName' => 'member', |
|
|
|
|
'ldapGroupAttributeNameGroup' => 'dn', |
|
|
|
|
'ldapGroupAttributeNameSearch' => 'cn', |
|
|
|
|
'ldapGroupAttributeNameUser' => 'dn', |
|
|
|
|
'ldapGroupObjectClass' => 'groupOfNames', |
|
|
|
|
'ldapPasswordResetAttribute' => 'pwdReset', |
|
|
|
|
'ldapPasswordResetAttributeValue' => 'TRUE', |
|
|
|
|
'ldapPort' => 389, |
|
|
|
|
'ldapPwdEnc' => 'utf-8', |
|
|
|
|
'ldapSearchDeref' => 'find', |
|
|
|
|
'ldapServer' => 'ldap://localhost', |
|
|
|
|
'ldapTimeout' => 120, |
|
|
|
|
'ldapUsePasswordResetAttribute' => 1, |
|
|
|
|
'ldapVersion' => 3, |
|
|
|
|
'localSessionStorage' => 'Cache::FileCache', |
|
|
|
|
'localSessionStorageOptions' => { |
|
|
|
|
'cache_depth' => 3, |
|
|
|
|
'cache_root' => '/tmp', |
|
|
|
|
'default_expires_in' => 600, |
|
|
|
|
'directory_umask' => '007', |
|
|
|
|
'namespace' => 'lemonldap-ng-sessions' |
|
|
|
|
}, |
|
|
|
|
'locationRules' => { |
|
|
|
|
'default' => 'deny' |
|
|
|
|
}, |
|
|
|
|
'logoutServices' => {}, |
|
|
|
|
'macros' => {}, |
|
|
|
|
'mailCharset' => 'utf-8', |
|
|
|
|
'mailFrom' => 'noreply@example.com', |
|
|
|
|
'mailSessionKey' => 'mail', |
|
|
|
|
'mailTimeout' => 0, |
|
|
|
|
'mailUrl' => 'http://auth.example.com/resetpwd', |
|
|
|
|
'managerDn' => '', |
|
|
|
|
'managerPassword' => '', |
|
|
|
|
'multiValuesSeparator' => '; ', |
|
|
|
|
'notificationStorage' => 'File', |
|
|
|
|
'notificationStorageOptions' => { |
|
|
|
|
'dirName' => '/var/lib/lemonldap-ng/notifications' |
|
|
|
|
}, |
|
|
|
|
'notificationWildcard' => 'allusers', |
|
|
|
|
'notifyDeleted' => 1, |
|
|
|
|
'nullAuthnLevel' => 0, |
|
|
|
|
'oidcAuthnLevel' => 1, |
|
|
|
|
'oidcRPCallbackGetParam' => 'openidconnectcallback', |
|
|
|
|
'oidcRPStateTimeout' => 600, |
|
|
|
|
'oidcServiceAllowAuthorizationCodeFlow' => 1, |
|
|
|
|
'oidcServiceMetaDataAuthnContext' => { |
|
|
|
|
'loa-1' => 1, |
|
|
|
|
'loa-2' => 2, |
|
|
|
|
'loa-3' => 3, |
|
|
|
|
'loa-4' => 4, |
|
|
|
|
'loa-5' => 5 |
|
|
|
|
}, |
|
|
|
|
'oidcServiceMetaDataAuthorizeURI' => 'authorize', |
|
|
|
|
'oidcServiceMetaDataBackChannelURI' => 'blogout', |
|
|
|
|
'oidcServiceMetaDataCheckSessionURI' => 'checksession.html', |
|
|
|
|
'oidcServiceMetaDataEndSessionURI' => 'logout', |
|
|
|
|
'oidcServiceMetaDataFrontChannelURI' => 'flogout', |
|
|
|
|
'oidcServiceMetaDataIssuer' => 'http://auth.example.com', |
|
|
|
|
'oidcServiceMetaDataJWKSURI' => 'jwks', |
|
|
|
|
'oidcServiceMetaDataRegistrationURI' => 'register', |
|
|
|
|
'oidcServiceMetaDataTokenURI' => 'token', |
|
|
|
|
'oidcServiceMetaDataUserInfoURI' => 'userinfo', |
|
|
|
|
'openIdAuthnLevel' => 1, |
|
|
|
|
'openIdExportedVars' => {}, |
|
|
|
|
'openIdIDPList' => '0;', |
|
|
|
|
'openIdSPList' => '0;', |
|
|
|
|
'openIdSreg_email' => 'mail', |
|
|
|
|
'openIdSreg_fullname' => 'cn', |
|
|
|
|
'openIdSreg_nickname' => 'uid', |
|
|
|
|
'openIdSreg_timezone' => '_timezone', |
|
|
|
|
'pamAuthnLevel' => 2, |
|
|
|
|
'pamService' => 'login', |
|
|
|
|
'passwordDB' => 'Demo', |
|
|
|
|
'portal' => 'http://auth.example.com/', |
|
|
|
|
'portalAntiFrame' => 1, |
|
|
|
|
'portalCheckLogins' => 1, |
|
|
|
|
'portalDisplayAppslist' => 1, |
|
|
|
|
'portalDisplayChangePassword' => '$_auth =~ /^(LDAP|DBI|Demo)$/', |
|
|
|
|
'portalDisplayLoginHistory' => 1, |
|
|
|
|
'portalDisplayLogout' => 1, |
|
|
|
|
'portalDisplayRegister' => 1, |
|
|
|
|
'portalErrorOnExpiredSession' => 1, |
|
|
|
|
'portalForceAuthnInterval' => 5, |
|
|
|
|
'portalPingInterval' => 60000, |
|
|
|
|
'portalRequireOldPassword' => 1, |
|
|
|
|
'portalSkin' => 'bootstrap', |
|
|
|
|
'portalUserAttr' => '_user', |
|
|
|
|
'proxyAuthnLevel' => 2, |
|
|
|
|
'radiusAuthnLevel' => 3, |
|
|
|
|
'randomPasswordRegexp' => '[A-Z]{3}[a-z]{5}.\\d{2}', |
|
|
|
|
'redirectFormMethod' => 'get', |
|
|
|
|
'registerDB' => 'Null', |
|
|
|
|
'registerTimeout' => 0, |
|
|
|
|
'remoteGlobalStorage' => 'Lemonldap::NG::Common::Apache::Session::SOAP', |
|
|
|
|
'remoteGlobalStorageOptions' => { |
|
|
|
|
'ns' => 'http://auth.example.com/Lemonldap/NG/Common/PSGI/SOAPService', |
|
|
|
|
'proxy' => 'http://auth.example.com/sessions' |
|
|
|
|
}, |
|
|
|
|
'requireToken' => 1, |
|
|
|
|
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;', |
|
|
|
|
'samlAuthnContextMapKerberos' => 4, |
|
|
|
|
'samlAuthnContextMapPassword' => 2, |
|
|
|
|
'samlAuthnContextMapPasswordProtectedTransport' => 3, |
|
|
|
|
'samlAuthnContextMapTLSClient' => 5, |
|
|
|
|
'samlEntityID' => '#PORTAL#/saml/metadata', |
|
|
|
|
'samlIdPResolveCookie' => 'lemonldapidp', |
|
|
|
|
'samlIDPSSODescriptorArtifactResolutionServiceArtifact' => '1;0;urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/artifact', |
|
|
|
|
'samlIDPSSODescriptorSingleLogoutServiceHTTPPost' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn', |
|
|
|
|
'samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn', |
|
|
|
|
'samlIDPSSODescriptorSingleLogoutServiceSOAP' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/singleLogoutSOAP;', |
|
|
|
|
'samlIDPSSODescriptorSingleSignOnServiceHTTPArtifact' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact;#PORTAL#/saml/singleSignOnArtifact;', |
|
|
|
|
'samlIDPSSODescriptorSingleSignOnServiceHTTPPost' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleSignOn;', |
|
|
|
|
'samlIDPSSODescriptorSingleSignOnServiceHTTPRedirect' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleSignOn;', |
|
|
|
|
'samlIDPSSODescriptorWantAuthnRequestsSigned' => 1, |
|
|
|
|
'samlMetadataForceUTF8' => 1, |
|
|
|
|
'samlNameIDFormatMapEmail' => 'mail', |
|
|
|
|
'samlNameIDFormatMapKerberos' => 'uid', |
|
|
|
|
'samlNameIDFormatMapWindows' => 'uid', |
|
|
|
|
'samlNameIDFormatMapX509' => 'mail', |
|
|
|
|
'samlOrganizationDisplayName' => 'Example', |
|
|
|
|
'samlOrganizationName' => 'Example', |
|
|
|
|
'samlOrganizationURL' => 'http://www.example.com', |
|
|
|
|
'samlRelayStateTimeout' => 600, |
|
|
|
|
'samlSPSSODescriptorArtifactResolutionServiceArtifact' => '1;0;urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/artifact', |
|
|
|
|
'samlSPSSODescriptorAssertionConsumerServiceHTTPArtifact' => '1;0;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact;#PORTAL#/saml/proxySingleSignOnArtifact', |
|
|
|
|
'samlSPSSODescriptorAssertionConsumerServiceHTTPPost' => '0;1;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/proxySingleSignOnPost', |
|
|
|
|
'samlSPSSODescriptorAuthnRequestsSigned' => 1, |
|
|
|
|
'samlSPSSODescriptorSingleLogoutServiceHTTPPost' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/proxySingleLogout;#PORTAL#/saml/proxySingleLogoutReturn', |
|
|
|
|
'samlSPSSODescriptorSingleLogoutServiceHTTPRedirect' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/proxySingleLogout;#PORTAL#/saml/proxySingleLogoutReturn', |
|
|
|
|
'samlSPSSODescriptorSingleLogoutServiceSOAP' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/proxySingleLogoutSOAP;', |
|
|
|
|
'samlSPSSODescriptorWantAssertionsSigned' => 1, |
|
|
|
|
'securedCookie' => 0, |
|
|
|
|
'slaveAuthnLevel' => 2, |
|
|
|
|
'slaveExportedVars' => {}, |
|
|
|
|
'SMTPServer' => '', |
|
|
|
|
'SMTPTLS' => '', |
|
|
|
|
'SSLAuthnLevel' => 5, |
|
|
|
|
'successLoginNumber' => 5, |
|
|
|
|
'timeout' => 72000, |
|
|
|
|
'timeoutActivity' => 0, |
|
|
|
|
'timeoutActivityInterval' => 60, |
|
|
|
|
'trustedProxies' => '', |
|
|
|
|
'twitterAuthnLevel' => 1, |
|
|
|
|
'u2fActivation' => 0, |
|
|
|
|
'upgradeSession' => 1, |
|
|
|
|
'userControl' => '^[\\w\\.\\-@]+$', |
|
|
|
|
'userDB' => 'Same', |
|
|
|
|
'useRedirectOnError' => 1, |
|
|
|
|
'useSafeJail' => 1, |
|
|
|
|
'webIDAuthnLevel' => 1, |
|
|
|
|
'webIDExportedVars' => {}, |
|
|
|
|
'whatToTrace' => 'uid', |
|
|
|
|
'yubikeyAuthnLevel' => 3, |
|
|
|
|
'yubikeyPublicIDSize' => 12 |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
1; |
|
|
|
|