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

plain Java API login via proxy

I am working in an environment where all http/s has to go through a proxy server.
Does getTeamRepository work through proxies? If so how how do I specify proxy host and protected information.
Also, the proxy requires certificate authentication that can be bypassed.
How does it handle keystores?
Many thanks

0 votes



One answer

Permanent link

Lewis,

the PlainJava API calls should be agnostic to that. However, you might have to tell the JVM executing your code to use a proxy as per e.g. https://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm
In the downloaded PlainJava API navigate to the /snippets directory. You find code for logging in in Snippet1.java. Running that from a client with / without the proxy jvm parameters will give you a quick indication if it works.

If this is helpful please mark the answer accepted.

- Arne

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
× 11,080

Question asked: Sep 05 '17, 3:04 a.m.

Question was seen: 3,757 times

Last updated: Sep 05 '17, 5:13 a.m.

Confirmation Cancel Confirm