Foren
Redirecting user if not exist
quentin giraudon, geändert vor 11 Jahren.
Redirecting user if not exist
New Member Beiträge: 11 Beitrittsdatum: 19.09.12 Neueste Beiträge
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
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, geändert vor 11 Jahren.
RE: Redirecting user if not exist
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
I think I just edited the web.xml to redirect on authentication error.
quentin giraudon, geändert vor 11 Jahren.
RE: Redirecting user if not exist
New Member Beiträge: 11 Beitrittsdatum: 19.09.12 Neueste Beiträge
yeah ?
can you be more specific please ?
can you be more specific please ?