|
#
|
|
# Copyright (C) 2000 - 2026 Silverpeas
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# As a special exception to the terms and conditions of version 3.0 of
|
|
# the GPL, you may redistribute this Program in connection with Free/Libre
|
|
# Open Source Software ("FLOSS") applications as described in Silverpeas's
|
|
# FLOSS exception. You should have received a copy of the text describing
|
|
# the FLOSS exception, and it is also available here:
|
|
# "https://www.silverpeas.org/legal/floss_exception.html"
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
# By default, login answer to personal question is not encrypted
|
|
loginAnswerEncrypted = false
|
|
|
|
# Allow new user to self register in Silverpeas
|
|
newRegistrationEnabled = false
|
|
# If newRegistrationEnabled = true, then the following parameter is verified.
|
|
# Allow to enable the synchronization of synchronized groups on user events (creation, modification, etc.)
|
|
# enabled by default (true)
|
|
registrationSynchroGroupEnabled=true
|
|
# Such new user will be created in below domainId
|
|
justRegisteredDomainId = 0
|
|
|
|
# If true, the user must change its password on first login
|
|
userMustChangePasswordOnFirstLogin = false
|
|
|
|
# If true, the user must fill its email address on first login
|
|
# This parameter is ignored if userMustChangePasswordOnFirstLogin = false
|
|
userMustFillEmailAddressOnFirstLogin = false
|
|
|
|
# Number of connection attempts before blocking the user associated to the login (and the domain)
|
|
# Negative, null or bad value : not activated
|
|
# Positive value : activated
|
|
nbConnectionAttemptsBeforeBlockingUser = 0
|
|
|
|
# Number of user connections before the server is forcing the user to change his password
|
|
# Negative, null or bad value : not activated
|
|
# Positive value : activated
|
|
nbSuccessfulUserConnectionsBeforeForcingPasswordChange = 0
|
|
|
|
# Number of user connections before the server is proposing to the user to change his password
|
|
# Negative, null or bad value : not activated
|
|
# Positive value : activated
|
|
nbSuccessfulUserConnectionsBeforeProposingToChangePassword = 0
|
|
|
|
# Frequency at which the terms of service have to be accepted by the user
|
|
# NEVER : terms of service are deactivated
|
|
# ONE : terms of service must be accepted one times by the user
|
|
# DAILY : terms of service must be accepted one times per day by the user
|
|
# WEEKLY : terms of service must be accepted one times per week by the user
|
|
# MONTHLY : terms of service must be accepted one times per month by the user
|
|
# YEARLY : terms of service must be accepted one times per year by the user
|
|
# ALWAYS : terms of service must be accepted at each user logon
|
|
# If bad or empty value : NEVER
|
|
# Frequency values are not case sensitive
|
|
termsOfServiceAcceptanceFrequency = NEVER
|
|
|
|
# Frequency at which the terms of service have to be accepted by the user of the specified domain id
|
|
# termsOfServiceAcceptanceFrequency.domainX = ALWAYS
|
|
# Apply specific template content to the specified domain id terms of service.
|
|
# termsOfServiceAcceptanceSpecificTemplateContent.domainX = true
|
|
|
|
# If true value is set, then the login case will be ignored on user authentication.
|
|
# Otherwise (default case), the login MUST be exactly exact to the one registered into Silverpeas's
|
|
# repositories.
|
|
# This is the default parameter applied on all domains.
|
|
loginIgnoreCaseOnUserAuthentication.default = false
|
|
# It is possible to apply a different behavior to a specific domain by using this parameter,
|
|
# where 'XX' MUST be replaced by the identifier of the aimed domain.
|
|
loginIgnoreCaseOnUserAuthentication.domainXX = true
|
|
|
|
#
|
|
# Two-factor authentication - TOTP
|
|
#
|
|
|
|
# Enable the native TOTP feature.
|
|
twoFactorTotpEnabled = true
|
|
|
|
# If true, users without a configured TOTP factor must enroll it during login.
|
|
twoFactorTotpMandatory = true
|
|
|
|
# Number of random bytes used to generate the TOTP secret.
|
|
# 20 bytes = 160 bits.
|
|
twoFactorTotpSecretSize = 20
|
|
|
|
# Number of digits generated by the TOTP.
|
|
twoFactorTotpDigits = 6
|
|
|
|
# TOTP validity period in seconds.
|
|
twoFactorTotpPeriod = 30
|
|
|
|
# Number of periods accepted before/after the current period.
|
|
# 1 means current period +/- one period.
|
|
twoFactorTotpValidationWindow = 1
|
|
|
|
# Lifetime, in seconds, of the temporary authentication challenge.
|
|
twoFactorTotpChallengeLifetime = 120
|
|
|
|
# Maximum number of failed TOTP attempts during one challenge.
|
|
twoFactorTotpMaxAttempts = 5
|
|
|
|
# Lock duration in seconds after the maximum number of failed TOTP attempts.
|
|
twoFactorTotpLockDuration = 300
|
|
|
|
# Number of recovery codes generated when enabling TOTP.
|
|
twoFactorTotpRecoveryCodeCount = 10
|
|
|
|
# Number of characters in each recovery code.
|
|
twoFactorTotpRecoveryCodeLength = 10
|
|
|
|
# Issuer displayed by authenticator applications.
|
|
twoFactorTotpIssuer = Silverpeas
|
|
#
|
|
# Trusted devices for two-factor authentication
|
|
#
|
|
|
|
# Enable trusted devices for two-factor authentication.
|
|
twoFactorTrustedDeviceEnabled = true
|
|
|
|
# Lifetime, in seconds, of a trusted browser token.
|
|
twoFactorTrustedDeviceLifetime = 2592000
|