ARTIFACTORY: How to identify users and their login method

ARTIFACTORY: How to identify users and their login method

AuthorFullName__c
David Lee
articleNumber
000005777
ft:sourceType
Salesforce
FirstPublishedDate
2023-06-11T10:51:58Z
lastModifiedDate
2023-06-11
VersionNumber
1

There may be cases where you would like to know what type of login method a user is using. By understanding and utilizing the artifactory-access.log, it is possible to find this information more efficiently. 

For example, when moving users using access tokens to passwords, we will want to find all the users currently using access tokens. We can do so using the API Key/Token User Collection. We can run the following command to grep for all login entries using an access token:

cat $JFROG_HOME/artifactory/var/log/artifactory-access.log | grep "\\[ACCEPTED LOGIN\\].*\\[token\\]$"