フォーラム

ホーム » Liferay Portal » English » x. Miscellaneous

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
quentin giraudon
Redirecting user if not exist
2012/11/05 8:42
答え

quentin giraudon

ランク: New Member

投稿: 11

参加年月日: 2012/09/19

最近の投稿

Hello,

In my application i use CAS Server to authenticate users.
I'm using liferay portal 6.0.6

My problem is that users existing in the LDAP directory but not in the portal database can access to the portal (they are redirected to the portal default login page)
and i get a
ERROR [CASAutoLogin:131] com.liferay.portal.NoSuchUserException: No User exists with the key {companyId=10132, screenName=utilisateur_01}

in the tomcat log file.

What i wanted is to redirect these users to a custom error page instead of the portal login page

Is there a way to do this properly ?

thanks in advance
Quentin
Hitoshi Ozawa
RE: Redirecting user if not exist
2012/11/07 14:48
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

I think I just edited the web.xml to redirect on authentication error.
quentin giraudon
RE: Redirecting user if not exist
2012/11/19 10:21
答え

quentin giraudon

ランク: New Member

投稿: 11

参加年月日: 2012/09/19

最近の投稿

yeah ?

can you be more specific please ?