ARTIFACTORY – 3 Ways to Customize Your Artifactory Login Page
This information pertains to Artifactory 7.X versions
The Artifactory Login page can be customized in a variety of ways to suit your company preferences, in this article, I'll share with you few of the options:
Option #1: Disable 'Remember Me' checkbox:
Are you looking for a way to disable the 'Remember Me' option in Artifactory login page? In general, if the user selects this option when logging in, the system will store a cookie in the browser for 7 days, allowing the user to be automatically logged in when the system starts up.
The user will have to log in again once the cookie expires.
This functionality can be disabled by an administrator, forcing all users to enter their credentials at every login. To do so, simply add the following property to the $JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties file and restart Artifactory for the changes to take effect.
After modifying the artifactory.system.properties file properly and performing a restart, the 'Remember Me' checkbox should be hidden and you will not be able to see it in the UI.
Option #2: Disable Auto-complete:
By default, browsers remember information that the user submits through fields on websites. This allows the browser to provide autocompletion (i.e., propose possible completions for fields that the user has begun typing in) or autofill (that is, pre-populate certain fields upon load).
These features are usually enabled by default, but they can be a privacy concern for some users, as a result, Artifactory offers administrators the ability to disable them for users. To do so, simply add the following property to the $JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties file and restart the system for the changes to take effect.
Please note that if the username and password are already saved in the browser, it will use the browser’s auto-completion until you remove the saved password from the browser (clear browser cache).
Option #3: Disable Temporary Login Suspension:
Do you wish to disable the Temporary Login Suspension? Temporary Login Suspension means that when a login attempt fails due to incorrect authentication credentials, the system will temporarily suspend the account for a brief period of time during which additional login attempts will be ignored. In case login attempts fail repeatedly, the suspension period is increased each time until it reaches a maximum of 5 seconds (by default).
However, if you don’t want this functionality in your system, you can simply disable it by adding the following property to the $JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties file and restart the system for the changes to take effect (or set the value of attempts according to your company policy).
For more information regarding Artifactory configuration files, please refer to the following link.
Published: June 22, 2021
Last updated: June 22, 2021
Keywords: Artifctory Login, Artifactory Configuration