2015-12-28 06:29:34 +01:00
|
|
|
# This file is generated by Lemonldap::NG::Manager::Build. Don't modify it by hand
|
2015-05-14 08:44:38 +02:00
|
|
|
package Lemonldap::NG::Common::Conf::DefaultValues;
|
|
|
|
|
2016-03-17 23:19:44 +01:00
|
|
|
our $VERSION = '2.0.0';
|
2015-05-14 08:44:38 +02:00
|
|
|
|
|
|
|
sub defaultValues {
|
|
|
|
return {
|
2015-10-05 16:07:28 +02:00
|
|
|
'activeTimer' => 1,
|
|
|
|
'ADPwdExpireWarning' => 0,
|
|
|
|
'ADPwdMaxAge' => 0,
|
|
|
|
'apacheAuthnLevel' => 4,
|
|
|
|
'applicationList' => {
|
2015-05-14 08:44:38 +02:00
|
|
|
'default' => {
|
|
|
|
'catname' => 'Default category',
|
|
|
|
'type' => 'category'
|
|
|
|
}
|
|
|
|
},
|
2015-12-14 21:39:31 +01:00
|
|
|
'authChoiceParam' => 'lmAuth',
|
2015-05-14 08:44:38 +02:00
|
|
|
'authentication' => 'Demo',
|
|
|
|
'captcha_register_enabled' => 1,
|
|
|
|
'captcha_size' => 6,
|
2017-01-24 23:05:07 +01:00
|
|
|
'CAS_authnLevel' => 1,
|
|
|
|
'CAS_pgtFile' => '/tmp/pgt.txt',
|
|
|
|
'casAccessControlPolicy' => 'none',
|
|
|
|
'checkXSS' => 1,
|
|
|
|
'confirmFormMethod' => 'post',
|
|
|
|
'cookieName' => 'lemonldap',
|
|
|
|
'cspConnect' => '\'self\'',
|
|
|
|
'cspDefault' => '\'self\'',
|
|
|
|
'cspFont' => '\'self\'',
|
|
|
|
'cspImg' => '\'self\'',
|
|
|
|
'cspScript' => '\'self\'',
|
|
|
|
'cspStyle' => '\'self\'',
|
|
|
|
'dbiAuthnLevel' => 2,
|
|
|
|
'dbiExportedVars' => {},
|
|
|
|
'demoExportedVars' => {
|
2015-05-14 08:44:38 +02:00
|
|
|
'cn' => 'cn',
|
|
|
|
'mail' => 'mail',
|
|
|
|
'uid' => 'uid'
|
|
|
|
},
|
|
|
|
'domain' => 'example.com',
|
|
|
|
'exportedVars' => {
|
|
|
|
'UA' => 'HTTP_USER_AGENT'
|
|
|
|
},
|
|
|
|
'facebookAuthnLevel' => 1,
|
|
|
|
'facebookExportedVars' => {},
|
|
|
|
'failedLoginNumber' => 5,
|
2017-01-24 23:05:07 +01:00
|
|
|
'formTimeout' => 120,
|
2015-05-14 08:44:38 +02:00
|
|
|
'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/'
|
|
|
|
},
|
2017-01-24 22:02:04 +01:00
|
|
|
'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,
|
|
|
|
'ldapAuthnLevel' => 2,
|
|
|
|
'ldapBase' => 'dc=example,dc=com',
|
|
|
|
'ldapExportedVars' => {
|
2015-05-14 08:44:38 +02:00
|
|
|
'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',
|
2015-12-28 12:58:53 +01:00
|
|
|
'ldapSearchDeref' => 'find',
|
2015-05-14 08:44:38 +02:00
|
|
|
'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'
|
|
|
|
},
|
|
|
|
'loginHistoryEnabled' => 1,
|
|
|
|
'logoutServices' => {},
|
|
|
|
'macros' => {},
|
|
|
|
'mailCharset' => 'utf-8',
|
|
|
|
'mailConfirmSubject' => '[LemonLDAP::NG] Password reset confirmation',
|
|
|
|
'mailFrom' => 'noreply@example.com',
|
|
|
|
'mailSessionKey' => 'mail',
|
|
|
|
'mailSubject' => '[LemonLDAP::NG] Your new password',
|
|
|
|
'mailTimeout' => 0,
|
2017-01-29 10:11:27 +01:00
|
|
|
'mailUrl' => 'http://auth.example.com/resetpwd',
|
2015-05-14 08:44:38 +02:00
|
|
|
'managerDn' => '',
|
|
|
|
'managerPassword' => '',
|
|
|
|
'multiValuesSeparator' => '; ',
|
|
|
|
'notificationStorage' => 'File',
|
|
|
|
'notificationStorageOptions' => {
|
|
|
|
'dirName' => '/var/lib/lemonldap-ng/notifications'
|
|
|
|
},
|
2016-12-03 19:26:56 +01:00
|
|
|
'notificationWildcard' => 'allusers',
|
|
|
|
'notifyDeleted' => 1,
|
|
|
|
'nullAuthnLevel' => 2,
|
|
|
|
'oidcAuthnLevel' => 1,
|
|
|
|
'oidcRPCallbackGetParam' => 'openidconnectcallback',
|
|
|
|
'oidcRPStateTimeout' => 600,
|
|
|
|
'oidcServiceAllowAuthorizationCodeFlow' => 1,
|
|
|
|
'oidcServiceMetaDataAuthnContext' => {
|
2015-05-14 08:44:38 +02:00
|
|
|
'loa-1' => 1,
|
|
|
|
'loa-2' => 2,
|
|
|
|
'loa-3' => 3,
|
|
|
|
'loa-4' => 4,
|
|
|
|
'loa-5' => 5
|
|
|
|
},
|
|
|
|
'oidcServiceMetaDataAuthorizeURI' => 'authorize',
|
2017-01-04 23:19:17 +01:00
|
|
|
'oidcServiceMetaDataCheckSessionURI' => 'checksession.html',
|
2015-05-14 08:44:38 +02:00
|
|
|
'oidcServiceMetaDataEndSessionURI' => 'logout',
|
2016-01-11 16:12:49 +01:00
|
|
|
'oidcServiceMetaDataIssuer' => 'http://auth.example.com',
|
2015-05-14 08:44:38 +02:00
|
|
|
'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',
|
|
|
|
'passwordDB' => 'Demo',
|
|
|
|
'portal' => 'http://auth.example.com/',
|
|
|
|
'portalAntiFrame' => 1,
|
|
|
|
'portalCheckLogins' => 1,
|
|
|
|
'portalDisplayAppslist' => 1,
|
|
|
|
'portalDisplayChangePassword' => '$_auth =~ /^(LDAP|DBI|Demo)$/',
|
|
|
|
'portalDisplayLoginHistory' => 1,
|
|
|
|
'portalDisplayLogout' => 1,
|
|
|
|
'portalDisplayRegister' => 1,
|
|
|
|
'portalDisplayResetPassword' => 1,
|
2016-01-06 16:58:40 +01:00
|
|
|
'portalForceAuthnInterval' => 5,
|
2015-05-14 08:44:38 +02:00
|
|
|
'portalPingInterval' => 60000,
|
|
|
|
'portalRequireOldPassword' => 1,
|
|
|
|
'portalSkin' => 'bootstrap',
|
|
|
|
'portalUserAttr' => '_user',
|
2017-01-09 07:11:30 +01:00
|
|
|
'proxyAuthnLevel' => 2,
|
2015-05-14 08:44:38 +02:00
|
|
|
'radiusAuthnLevel' => 3,
|
|
|
|
'randomPasswordRegexp' => '[A-Z]{3}[a-z]{5}.\\d{2}',
|
|
|
|
'redirectFormMethod' => 'get',
|
|
|
|
'registerConfirmSubject' =>
|
|
|
|
'[LemonLDAP::NG] Account register confirmation',
|
2017-01-14 09:17:38 +01:00
|
|
|
'registerDB' => 'Null',
|
2015-05-14 08:44:38 +02:00
|
|
|
'registerDoneSubject' => '[LemonLDAP::NG] Your new account',
|
|
|
|
'registerTimeout' => 0,
|
|
|
|
'remoteGlobalStorage' => 'Lemonldap::NG::Common::Apache::Session::SOAP',
|
|
|
|
'remoteGlobalStorageOptions' => {
|
|
|
|
'ns' =>
|
|
|
|
'http://auth.example.com/Lemonldap/NG/Common/CGI/SOAPService',
|
2017-01-29 10:11:27 +01:00
|
|
|
'proxy' => 'http://auth.example.com/sessions'
|
2015-05-14 08:44:38 +02:00
|
|
|
},
|
2017-01-24 23:05:07 +01:00
|
|
|
'requireToken' => 1,
|
2015-05-14 08:44:38 +02:00
|
|
|
'samlAttributeAuthorityDescriptorAttributeServiceSOAP' =>
|
|
|
|
'urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/AA/SOAP;',
|
|
|
|
'samlAuthnContextMapKerberos' => 4,
|
|
|
|
'samlAuthnContextMapPassword' => 2,
|
|
|
|
'samlAuthnContextMapPasswordProtectedTransport' => 3,
|
|
|
|
'samlAuthnContextMapTLSClient' => 5,
|
2016-12-03 19:26:56 +01:00
|
|
|
'samlEntityID' => '#PORTAL#/saml/metadata',
|
|
|
|
'samlIdPResolveCookie' => 'lemonldapidp',
|
2015-05-14 08:44:38 +02:00
|
|
|
'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',
|
2017-01-24 22:02:04 +01:00
|
|
|
'samlOrganizationURL' => 'http://www.example.com',
|
|
|
|
'samlRelayStateTimeout' => 600,
|
2015-05-14 08:44:38 +02:00
|
|
|
'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,
|
|
|
|
'secureTokenAllowOnError' => 1,
|
|
|
|
'secureTokenAttribute' => 'uid',
|
|
|
|
'secureTokenExpiration' => 60,
|
|
|
|
'secureTokenHeader' => 'Auth-Token',
|
|
|
|
'secureTokenMemcachedServers' => '127.0.0.1:11211',
|
|
|
|
'secureTokenUrls' => '.*',
|
|
|
|
'slaveAuthnLevel' => 2,
|
|
|
|
'slaveExportedVars' => {},
|
|
|
|
'SMTPServer' => '',
|
|
|
|
'SSLAuthnLevel' => 5,
|
|
|
|
'successLoginNumber' => 5,
|
|
|
|
'syslog' => '',
|
|
|
|
'timeout' => 72000,
|
|
|
|
'timeoutActivity' => 0,
|
2016-09-12 11:49:40 +02:00
|
|
|
'timeoutActivityInterval' => 60,
|
2015-05-14 08:44:38 +02:00
|
|
|
'trustedProxies' => '',
|
|
|
|
'twitterAuthnLevel' => 1,
|
|
|
|
'userControl' => '^[\\w\\.\\-@]+$',
|
2017-02-05 10:13:20 +01:00
|
|
|
'userDB' => 'Same',
|
2015-05-14 08:44:38 +02:00
|
|
|
'useRedirectOnError' => 1,
|
|
|
|
'useSafeJail' => 1,
|
|
|
|
'webIDAuthnLevel' => 1,
|
|
|
|
'webIDExportedVars' => {},
|
|
|
|
'whatToTrace' => 'uid',
|
|
|
|
'yubikeyAuthnLevel' => 3,
|
|
|
|
'yubikeyPublicIDSize' => 12,
|
|
|
|
'zimbraBy' => ''
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|