Artifactory supports P2 repositories with Allow Anonymous Access enabled. For more information, see Allow Anonymous Access.
When Allow Anonymous Access is enabled, the default behavior is to not query the P2 client for authentication parameters.
To override the default behavior, select the Force Authentication checkbox in the New or Edit Repository dialog.
When set, Artifactory will request authentication parameters from the P2 client before trying to access this repository.