Our anonymous User is somehow not internal and has the problem of timing out sessions for our users
We cant delete the user. And we need anon pulling, we enabled the anon allowance in Artifactory and it works. Till the session of the user times out and we can fix it only, by someone logging into the UI. Not with the anon user, but some other user logging into the UI fixes the Bad Credentials Error.
And maybe we can fix the Problem by moving the anon user back to internal?
Our anonymous User is somehow not internal and has the problem of timing out sessions for our users
We cant delete the user. And we need anon pulling, we enabled the anon allowance in Artifactory and it works. Till the session of the user times out and we can fix it only, by someone logging into the UI. Not with the anon user, but some other user logging into the UI fixes the Bad Credentials Error.
And maybe we can fix the Problem by moving the anon user back to internal?
Share Improve this question asked Feb 5 at 11:18 herbertherbert 133 bronze badges2 Answers
Reset to default 0I got it moved to internal, only by exporting and importing again this json as user anonymous, which comes from a clean artifactory install:
{
"username" : "anonymous",
"firstName" : null,
"lastName" : null,
"email" : null,
"realm" : "internal",
"status" : "enabled",
"lastLoginTime" : 0,
"lastLoginIp" : null,
"password" : null,
"allowedIps" : [ "*" ],
"created" : 1738314752329,
"modified" : 1738314752329,
"failedLoginAttempts" : 0,
"statusLastModified" : 1738314752329,
"passwordLastModified" : 0,
"customData" : {
"disabled_password" : {
"value" : "true",
"sensitive" : false,
"clusterLocal" : false
}
},
"groups" : [ ]
}
I believe that it's possible to change the realm by simply executing the following SQL query:
UPDATE access_users set realm = 'internal' WHERE username = 'anonymous';