I have an EJB which makes a call to another server in the cell using HTTP (REST api).
At the EJB context the user is already authenticated and authorized, how can I propagate the security tokens to the other server avoiding the need to provide credentials in the request ?
It is possible to obtain WebSphere’s
Ltpatoken from the securitysubjectand pass it as acookiefor the HTTP call:By adding the
ssoTokenCookieto the request cookies there is no need to provider user credentials.