フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Bryan Kim
login.events.post doesn't work integrated with CAS
2013/02/26 12:06
答え

Bryan Kim

ランク: New Member

投稿: 3

参加年月日: 2013/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
Mika Koivisto
RE: login.events.post doesn't work integrated with CAS
2013/02/27 11:25
答え

Mika Koivisto

LIFERAY STAFF

ランク: Liferay Legend

投稿: 1513

参加年月日: 2006/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.
Bryan Kim
RE: login.events.post doesn't work integrated with CAS
2013/02/27 13:40
答え

Bryan Kim

ランク: New Member

投稿: 3

参加年月日: 2013/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.