Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nicola Matarese
Restrict portal access to some LDAP groups
September 4, 2013 12:51 AM
Answer

Nicola Matarese

Rank: New Member

Posts: 6

Join Date: August 5, 2013

Recent Posts

Hi everybody, I have a question concerning the LDAP - Liferay integration.

I've set the LDAP connection and user/group import. I'm able to see all groups and user into Liferay installation.
Now, I'd like to know in which way I can allow the access to the portal to some predefined LDAP groups, not allowing the
access to the other.

Thanks,
regards.

Nico
Dhvanil Reshamwala
RE: Restrict portal access to some LDAP groups
September 6, 2013 2:16 AM
Answer

Dhvanil Reshamwala

Rank: New Member

Posts: 13

Join Date: December 23, 2011

Recent Posts

Hi,
Ideally to achieve your requirement you should be just importing the groups/users in Liferay to whom you want to provide the access. In LDAP setup you can provide user and group search filter which will import only those user and groups as configured in the filter.

Thanks,
Dhvanil
Nicola Matarese
RE: Restrict portal access to some LDAP groups
September 17, 2013 10:36 AM
Answer

Nicola Matarese

Rank: New Member

Posts: 6

Join Date: August 5, 2013

Recent Posts

Hi, first of all thanks for the suggestion.

I have another question related to the same topic.
Why also the user who aren't in the filtered group are allowed to access to the portal?

Wha's wrong in my LDAP settings?
I attached a screen shot of my LDAP settings.

Furthermore I added the following to portal-ext.properties

ldap.import.method=group

Any suggestion?
Thanks...

Nico
Attachment

Attachments: LDAP.png (18.4k)