Message Boards

Autheticating user from LDAP as well as liferay DB

thumbnail
Lokesh Sharma, modified 5 Years ago.

Autheticating user from LDAP as well as liferay DB

Junior Member Posts: 54 Join Date: 7/30/15 Recent Posts

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.

thumbnail
Christoph Rabel, modified 5 Years ago.

RE: Autheticating user from LDAP as well as liferay DB

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts

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.

thumbnail
Jack Bakker, modified 5 Years ago.

RE: Autheticating user from LDAP as well as liferay DB

Liferay Master Posts: 978 Join Date: 1/3/10 Recent Posts
 

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 ? 
 
thumbnail
Lokesh Sharma, modified 5 Years ago.

RE: Autheticating user from LDAP as well as liferay DB

Junior Member Posts: 54 Join Date: 7/30/15 Recent Posts
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.