curl -X POST -u admin:password -H "Content-Type: application/json" -d '{"security":{"anonymousAccessEnabled":true,"anonymousAccessLoginFormEnabled":false}}' 'https://artifactory.example.com//artifactory/api/system/configuration'
在执行上述步骤之后,Artifactory Cloud的登录界面将不再显示,而匿名用户将能够继续访问Artifactory Cloud。