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 ?
Question: do we have access inside an IOperationParticipant to the httpServletRequest object in order to get the session cookie containing the ltpa token ?
Comments
Nils Müller-Sheffer
Aug 03 '12, 4:05 a.m.Lothar, have you ever found a solution to this. We have EXACTLY the same requirement.
Thanks! Nils
Lothar Kappen
JAZZ DEVELOPER Aug 03 '12, 5:12 a.m.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.