I think I have Artifactory configured exactly as you described. So I have no
problem with the repositories which allow anonymous access. 

However I still have the problem that dynamic version numbers cannot be
resolved for repositories that do not have anonymous access. So if I have a
repository without anonymous access and I visit a valid location without
supplying credentials (e.g.
http://myserver/artifactory/libs-release-local/org/my_module) then
Artifactory shows an empty directory listing, and it does not report any
error regarding unauthorised access. This means that when I'm using Gradle
to resolve dynamic version numbers e.g. org:my_module:1.2.+ then Gradle
first does an HTTP query without credentials, it sees that there's nothing
in the directory so it does not attempt to try again using credentials. 

What I think I need is:
a) for my anonymous repositories to continue to work as they currently do,
and
b) for repositories without anonymous access to return a 401 status code
when listing a directory if no credentials were supplied. 



--
View this message in context: 
http://forums.jfrog.org/Directory-listing-with-no-credentials-and-no-anonymous-access-tp7578723p7578733.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to