It's all about the answers!

Ask a question

artifactLinkPublisher and URL authentication


Tom Frauenhofer (1.3k58435) | asked Jan 04 '10, 12:38 p.m.
Using RTC 2.0


My build uploads its build package to a Web Server. I'm using
artifactLinkPublisher to publish a link to that Web server in the RTC
build results.

The build runs fine and the URL gets published correctly in the build
results "Downloads" page.

The URL however requires a userid/password to access. In the RTC client,
in the "Downloads" page, when I right-click on the package and choose
"Save As", the download appears to start (momentarily) but then just
ends without an error message. No file is actually downloaded.

Are authenticated URLs' supported in artifactLinkPublisher ?

Cheers
Dave

3 answers



permanent link
Jean-Michel Lemieux (2.5k11) | answered Jan 04 '10, 9:36 p.m.
JAZZ DEVELOPER
They are, in our own setup we publish to an https protected server and when I click the link from the Eclipse client a password prompt is shown.

Can you confirm that if you copy/paste the link from the build result into a browser that it fetches properly after the appropriate auth dialog?

Cheers,
Jean-Michel

permanent link
Tom Frauenhofer (1.3k58435) | answered Jan 04 '10, 11:23 p.m.
Thanks for confirming the support for protected URLs.

RE: pasting the URL into a browser
Yes, I've confirmed that if I paste the URL from the 'Downloads' page
into a browser, it downloads after a userid/password prompt.
It's HTTP rather than HTTPS however.

I'll go double check everything at my end again.

Dave

On 1/4/2010 9:34 PM, jlemieux wrote:
They are, in our own setup we publish to an https protected server and
when I click the link from the Eclipse client a password prompt is
shown.

Can you confirm that if you copy/paste the link from the build result
into a browser that it fetches properly after the appropriate auth
dialog?

Cheers,
Jean-Michel

permanent link
Randy Lei (3355) | answered Dec 07 '11, 11:34 a.m.
I'm having a similar issue. The server is RTC 3.0.1.

I use artifactLinkPublisher to publish a ftp link. Using the RTC web client, a login prompt appears and it all works. However, with eclipse client, if I click the artifact downloads, I get the following error (no login prompt)


Error downloading file.
Reason:
FtpLoginException

Details:
Not logged in
sun.net.ftp.FtpLoginException


I guess if I set up anonymous ftp this would work but that violates our internal security policy. Is there any way to get the login prompt when using the eclipse client?

Your answer


Register or 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.