留言板

Skipping Liferay User Authentication while logging in

Liferay User,修改在6 年前。

Skipping Liferay User Authentication while logging in

New Member 帖子: 15 加入日期: 15-1-5 最近的帖子
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,修改在6 年前。

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

Liferay Legend 帖子: 14916 加入日期: 06-9-2 最近的帖子
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,修改在6 年前。

RE: Skipping Liferay User Authentication while logging in

New Member 帖子: 15 加入日期: 15-1-5 最近的帖子
Thank you David