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

Hot to get the httpServletRequest object inside an extension

RTC is running in a WebSphere SSO-Environment. From a server-side extension (work item save operation participant) we need to interface another application via a Java API. Therefore we need to pass the ltpa token to that application. That is the ltpa token that WebSphere generated when the user authenticated for using RTC.

Question: do we have access inside an IOperationParticipant to the httpServletRequest object in order to get the session cookie containing the ltpa token ?

1 vote

Comments

Lothar, have you ever found a solution to this. We have EXACTLY the same requirement.

Thanks! Nils

I got a hint from Ralph Schoon, but we never tested it. So I do not know if it works. And it uses the client api. Not sure if there is something aquivalent in the server api.

Anyhow, Ralph's idea is to use: IRawRestClientConnection raw = getService(IRawRestClientConnection.class); in the com.ibm.team.repository.client.

If you try it, pls. post the result here. Thanks.



One answer

Permanent link
Hi,

I'm also interested in this question.

Stefan

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
× 10,938

Question asked: Feb 29 '12, 9:31 a.m.

Question was seen: 5,606 times

Last updated: Aug 03 '12, 5:12 a.m.

Confirmation Cancel Confirm