ARTIFACTORY: How to modify the default number of days that the users will receive an email notification before their password expires

ARTIFACTORY: How to modify the default number of days that the users will receive an email notification before their password expires

AuthorFullName__c
Manojkumar M
articleNumber
000005557
FirstPublishedDate
2023-01-23T09:55:35Z
lastModifiedDate
2025-07-22
VersionNumber
2

In this KB article, we will discuss how to modify the number of days that the users will receive an email notification before their password expires. 

An admin user can enforce a password expiration policy to force all users to change their passwords at regular intervals. When the password expiration policy is enforced, users who are not within the specified time interval will have their accounts locked until they change their password. 

The  ”Password Expiration Policy” & the “Send Mail Notification Before Password Expiration“ options are currently defined in the system under Administration | Security| General in the Platform Administration module. The above options should be enabled in the instance in order to receive an email notification. Currently, by default, the users will receive an email notification X (~ 5-6) days before the password will expire.

User-added image

FYI, only for on-prem instances “Mail server must be enabled and configured correctly” 

To configure the number of days before the expiry notification please edit the $Artifactory_home/var/etc/artifactory/artifactory.system.properties and add the below parameter with value (in days) and post the change, please restart the Artifactory so that the new value gets used(e.g sample value is 10 below).

artifactory.security.password.expiry.daysToNotifyBefore=10

E.g If the “Password Expires Every (Days) “ is configured within 30 days and then the notification will be triggered to the user before 10 days of password expiry.