Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
biswajit sarkar
Import LDAP group to liferay role
December 20, 2012 2:43 AM
Answer

biswajit sarkar

Rank: Regular Member

Posts: 166

Join Date: October 17, 2011

Recent Posts

I am looking for a solution to "import LDAP role group to liferay role".

Example: in my ldap "role" group container there is a group called "administrator"
If I import "administrator" group to liferay role then automatically all the member of that "administrator" group will get permission of liferay "administrator" role.

is it possible in liferay??
please help
Alireza Zare
RE: Import LDAP group to liferay role
December 20, 2012 2:59 AM
Answer

Alireza Zare

Rank: Regular Member

Posts: 110

Join Date: September 3, 2010

Recent Posts

Hi,

Not out of the box.
You have to write your own code.

Regards,
Alireza
Juan Gonzalez
RE: Import LDAP group to liferay role
December 20, 2012 3:23 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2892

Join Date: October 28, 2008

Recent Posts

Yep, this can be done through a property in portal-ext.properties.

1ldap.import.create.role.per.group=true


If enabled, a role is created for every group that comes from LDAP, and both role and group are linked.
Alireza Zare
RE: Import LDAP group to liferay role
December 20, 2012 3:39 AM
Answer

Alireza Zare

Rank: Regular Member

Posts: 110

Join Date: September 3, 2010

Recent Posts

Yes, Indeed. I missed the fact that you want to do it trough the group. And not direct assignment of the roles to the user.

Regards,
Alireza
biswajit sarkar
RE: Import LDAP group to liferay role
December 20, 2012 4:27 AM
Answer

biswajit sarkar

Rank: Regular Member

Posts: 166

Join Date: October 17, 2011

Recent Posts

Thanks all.... emoticon