Hi Raghu,
This works fine - thank you for the tip! But as you were not 100% sure if it impacts the Catalog content - now I'm 100% sure it does. The catalog content won't display for the impersonated user..
Maybe it will help if I first call some Catalog URL and then impersonated USS portal URL - this procedure might keep the Catalog context in the browser (at least it works if I do the steps manually).
So I have some additional questions:
- Does Catalog itself support impersonation?
- Do you have some experiences with obtaining the "doAsUserId" USS ticket automatically? Some Liferay WS API or anything similar to getBopsid SDM method. I've red some Liferay discussions, but as I'm not a programmer, it doesn't give me much information..
I should also clarify the purpose of this discussion - our customer has some internal user portal and would like to display the USS content (communities, search, SC widgets etc.) inside the portal without any other authentication. The portal itself has some authentication procedure and on the CA SM side, we have only users which won't access the CA products directly.
Thank you for your time,
Jakub