Introduction By default, Artifactory UI sessions automatically time out after 30 minutes. Artifactory provides different methods to configure the UI session timeout, depending on the version you are using:
-
Artifactory 7.73.x and above – Allows direct configuration through the Administration UI (Recommended & Easiest Method)
-
Artifactory 7.x – Requires changes in the system.yaml file
-
Artifactory 6.x and below – Requires modifications in the artifactory.system.properties file
The first method (via UI) is the recommended and easiest way to modify the session timeout as it does not require editing configuration files or restarting Artifactory. If you are using Artifactory 7.73.x and above, it is advised to use the UI method whenever possible.
1. Configuring via the UI (Artifactory 7.73.x and Above)
From Artifactory version 7.73.x and above you may change Session Timeout under the Administration UI > Security > General section:
2. Configuring via system.yaml (Artifactory 7.x) From Artifactory version 7.x you’ll need to modify the system.yaml file in the $ARTIFACTORY_HOME/var/etc/system.yaml folder by adding the following frontend configuration and set the time (in minutes) for your UI sessions:
frontend: ## Session settings session: ## After how much time the frontend token needs to be refreshed timeMinutes: '60'
Note: These changes will only take effect after you restart Artifactory.
3. Configuring via system.properties (Artifactory 6.x and Below) From Artifactory version 6.x and below, you’ll need to add the following to the $ARTIFACTORY_HOME/etc/artifactory.system.properties file:
artifactory.ui.session.timeout.minutes=60
Note: These changes will only take effect after you restart Artifactory.