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 ? |
One answer
Hi,
I'm also interested in this question. Stefan |
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.
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.