Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How do I allow access to artifacts without authentication (for a p2 repository)

 I'd like to use my RAM asset as a P2 repository, but can't find a way to allow access to assets without any authentication (which is required for most p2 clients). I have managed to allow access to browse the asset, and see the listing without auth, but when I try to pick a file, it asks me to log in.

Is there a way to do this?

I've tried with oslc: /ram.ws/oslc/assets/D473138E-89B8-DC22-AD05-E647470E0ECE/3.0.0.20120716-1211/artifactContents/repository/content.xml
And I've tried with RAM: /ram.ws/artifact/D473138E-89B8-DC22-AD05-E647470E0ECE/3.0.0.20120716-1211/repository/content.xml
And RAM form: /ram/artifact/D473138E-89B8-DC22-AD05-E647470E0ECE/3.0.0.20120716-1211/repository/content.xml

0 votes



2 answers

Permanent link
OSLC doesn't allow anonymous download I believe. Either that or your RAM is earlier than 7.5.1.1. Before 7.5.1.1 anonymous users weren't allowed to download.

Also, I use Eclipse P2 all of the time and it allows me to access a P2 repository that requires a login id. It works fine with basic auth.

By the way, for P2, don't use oslc. RAM already supports it through the older standard for artifacts:

ram.ws/artifact/%7BF5E1685B-2BDA-2555-8A40-758F6C644F31%7D/7.5.2/repository

Notice that the standard form is also ram.ws. For things like P2 you don't want to use the web access.

1 vote


Permanent link
Note that authentication is (and should be) part of life.   Eclipse update clients handle RAM p2 urls that are protected with no problems.... note though that if you use https, you may need to (if your server certificate is not authorized) register your server's certificate with Eclipse' key store for the update to work.

Basic Auth should work on the non OSLC artifacts URLs, and OSLC for 7.5.1.1

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,024

Question asked: Jul 16 '12, 9:12 a.m.

Question was seen: 4,968 times

Last updated: Jul 16 '12, 6:43 p.m.

Confirmation Cancel Confirm