Use different resolver user name and password than the default ones defined in the Artifactory settings under Jenkins's system configuration page. If no global defaults are defined and no user name and password are given here anonymous resolution will be attempted.