Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Autheticating user from LDAP as well as liferay DB
Hi All,
I have one LDAP configured in the portal and user are autheticated from there.
Now, I have a funcationality where user created from the portal should be authenticated from liferay db whereas user imported from LDAP should be autheticated from liferay DB.
Kindly suggest how to achieve this in Liferay DXP.
Doesn't that work out of the box? You should just need to configure LDAP to be activated but not required.
If that doesn't work (as wished) for you, you probably need to describe in more detail, what happens.
I have one LDAP configured in the portal and user are autheticated from there.
Now, I have a funcationality where user created from the portal should be authenticated from liferay db whereas user imported from LDAP should be autheticated from liferay DB.
You write that you want user to be authenticated from Liferay DB for users imported from LDAP and also for users added only in Liferay. Is that a mistake in what you write ? Instead did you mean that you want users to be authenticated against LDAP if they were imported from LDAP ?
Jack Bakker<blockquote>
<div class="quote-title"> </div>
<div class="quote">
<div class="quote-content">
<p>I have one LDAP configured in the portal and user are
autheticated from there.</p>
<p>Now, I have a funcationality where user created from the portal
should be authenticated from liferay db whereas user imported
from LDAP should be autheticated from liferay DB.</p>
<p> </p></div></div></blockquote>
<br />
You write that you want user to be authenticated from Liferay DB for
users imported from LDAP and also for users added only in Liferay. Is
that a mistake in what you write ? Instead did you mean that you want
users to be authenticated against LDAP if they were imported from LDAP ? <br />
Hi,
Yes it was mistaken from my end
I want user to authenticate from LDAP if they imported from LDAP and from liferay db when made in liferay.