Fórum

Skipping Liferay User Authentication while logging in

Liferay User, modificado 6 Anos atrás.

Skipping Liferay User Authentication while logging in

New Member Postagens: 15 Data de Entrada: 05/01/15 Postagens Recentes
Hi All,
I need to implement the following functionality. Please help.
I need to login to Liferay, validating the login credentials with the external Database user table ( user will not exist in liferay). Is it possible ?
I have implemented the following
1.auth.pipeline.enable.liferay.check=false
2. auth.pipeline.pre=*.CustomLogin
in portal.properties of the hook
and in validateEmailAddress
My Logic
return Success and tried with return SKIP_LIFERAY_CHECK

but it did not work. If the user is not in Liferay, I am getting validation error.


Thank you
thumbnail
David H Nebinger, modificado 6 Anos atrás.

RE: Skipping Liferay User Authentication while logging in (Resposta)

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Liferay User:
I need to login to Liferay, validating the login credentials with the external Database user table ( user will not exist in liferay). Is it possible ?


No.

All users must exist in the Liferay database. The user records in the Liferay database provide the necessary foreign key values for all other tables including permissions, preferences, ...

You can do external auth, certainly, but the users must be in the Liferay database.








Come meet me at the 2017 LSNA!
Liferay User, modificado 6 Anos atrás.

RE: Skipping Liferay User Authentication while logging in

New Member Postagens: 15 Data de Entrada: 05/01/15 Postagens Recentes
Thank you David