Forums de discussion

Too many redirects issue in liferay

Gurjinder Jeet Singh, modifié il y a 6 années.

Too many redirects issue in liferay

New Member Publications: 4 Date d'inscription: 26/02/16 Publications récentes
I enabled SSO in liferay and using OpenAM server for achieving open SSO functionality.
I tested following scenario that working fine.
1)If I login from Liferay and I automatically login into OpenAM server.
2)If I logout from Liferay and I automatically logout into OpenAM server.
3)If I login from OpenAM and I automatically login into Liferay server.
4)If I logout from OpenAM and I automatically logout into Liferay server.

To achieve above fourth point I need to enter following one entry in liferay-web.xml at tomcat-7.0.62/webapps/ROOT/WEB-INF location.
<filter-mapping>
<filter-name>SSO Open SSO Filter</filter-name>
<url-pattern>/web/guest/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>

So now all the above four points are working perfectly.

But there is issue when I test below mentioned scenario .
->When I login from User 'A' from OpenAM server then I am automatically login in liferay portal.
->Now I logout user 'A' from OpenAM server.
->After this I login with user 'B' in openAM.
->If I refresh Liferay portal which was in login state with user 'A' shows that there are too many redirects

Pièces jointes:

aakash bansal, modifié il y a 6 années.

RE: Too many redirects issue in liferay

New Member Publications: 6 Date d'inscription: 11/08/16 Publications récentes
yes , I am also facing the same issue.