掲示板

login.events.post doesn't work integrated with CAS

11年前 に Bryan Kim によって更新されました。

login.events.post doesn't work integrated with CAS

New Member 投稿: 3 参加年月日: 13/01/17 最新の投稿
Hi,
We have liferay portal integrated with CAS.

We have post login hook using "login.events.post" to redirect user after login is successful. The custom action modifies the last path. For some reason it works fine without CAS enabled. But CAS enabled, the redirect doesn't happen.

Does anybody encountered similar issue?

Thanks,
Bryan
thumbnail
11年前 に Mika Koivisto によって更新されました。

RE: login.events.post doesn't work integrated with CAS

Liferay Legend 投稿: 1519 参加年月日: 06/08/07 最新の投稿
login.events.pre and login.events.post are only ran when you Login into Liferay using username and password. It is not run for any SSO using AutoLogin.
11年前 に Bryan Kim によって更新されました。

RE: login.events.post doesn't work integrated with CAS

New Member 投稿: 3 参加年月日: 13/01/17 最新の投稿
Thanks for response Mika.

Then what should be the correct way to implement this scenario?

1. user logins to CAS
2. If authentication is sucessful, redirect the user to some sites (The site can be different depending on user) within liferay.