掲示板

Skipping Liferay User Authentication while logging in

6年前 に Liferay User によって更新されました。

Skipping Liferay User Authentication while logging in

New Member 投稿: 15 参加年月日: 15/01/05 最新の投稿
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
6年前 に David H Nebinger によって更新されました。

RE: Skipping Liferay User Authentication while logging in (回答)

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
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!
6年前 に Liferay User によって更新されました。

RE: Skipping Liferay User Authentication while logging in

New Member 投稿: 15 参加年月日: 15/01/05 最新の投稿
Thank you David