Foren
LDAP - Liferay organization sync
Dimitris Siotas, geändert vor 8 Jahren.
LDAP - Liferay organization sync
New Member Beiträge: 5 Beitrittsdatum: 24.08.15 Neueste Beiträge
Hello everyone!
We have an ldap with a specific structure and a liferay 6.2 ga3 portal.
The ldap server has 13 organizational units (ou) which are the departments of an organization. Inside this OU's we will place the users
We want to know if there is a way through configuration, that liferay can get the ldap OU's an put them as liferay organizations
Thanks in advance for the help!
We have an ldap with a specific structure and a liferay 6.2 ga3 portal.
The ldap server has 13 organizational units (ou) which are the departments of an organization. Inside this OU's we will place the users
We want to know if there is a way through configuration, that liferay can get the ldap OU's an put them as liferay organizations
Thanks in advance for the help!
Meera Prince, geändert vor 8 Jahren.
RE: LDAP - Liferay organization sync
Liferay Legend Beiträge: 1111 Beitrittsdatum: 08.02.11 Neueste Beiträge
Hi
Try this it may help you something...
http://www.liferaysavvy.com/2013/10/liferay-ldap-integration_8.html
Regards,
Meera Prince
Try this it may help you something...
http://www.liferaysavvy.com/2013/10/liferay-ldap-integration_8.html
Regards,
Meera Prince
Dimitris Siotas, geändert vor 8 Jahren.
RE: LDAP - Liferay organization sync
New Member Beiträge: 5 Beitrittsdatum: 24.08.15 Neueste Beiträge
Thank you very much for the quick response.
That really helped me a lot for setting the ldap-liferay , and worked fine, but it as next step it would be great if liferay could get ldap OU's directly and create the equivalent liferay organizations.
i couldn't make it, and to tell the truth i don't know if its possible to do. If we can't we have to find another solution.
That really helped me a lot for setting the ldap-liferay , and worked fine, but it as next step it would be great if liferay could get ldap OU's directly and create the equivalent liferay organizations.
i couldn't make it, and to tell the truth i don't know if its possible to do. If we can't we have to find another solution.
Ho Yin Edward Chow, geändert vor 8 Jahren.
RE: LDAP - Liferay organization sync
Junior Member Beiträge: 53 Beitrittsdatum: 28.08.13 Neueste Beiträge
As far as I know, this is something that you have to using a hook. Within the hook you could map the OU to a Liferay User Group and then have the User Group as a member of the organization (not a default feature).
Meera Prince, geändert vor 8 Jahren.
RE: LDAP - Liferay organization sync
Liferay Legend Beiträge: 1111 Beitrittsdatum: 08.02.11 Neueste Beiträge
Hi
For more information please look at source code then you will get clarity for your next step and as Ho Yin Edward Chow said we may need to create hook for your requirement.
https://github.com/liferay/liferay-portal/blob/6.2.x/portal-impl/src/com/liferay/portal/security/ldap/PortalLDAPExporterImpl.java
Look at these package ldap classes
https://github.com/liferay/liferay-portal/tree/6.2.x/portal-impl/src/com/liferay/portal/security/ldap
Regards,
Meera Prince
For more information please look at source code then you will get clarity for your next step and as Ho Yin Edward Chow said we may need to create hook for your requirement.
https://github.com/liferay/liferay-portal/blob/6.2.x/portal-impl/src/com/liferay/portal/security/ldap/PortalLDAPExporterImpl.java
Look at these package ldap classes
https://github.com/liferay/liferay-portal/tree/6.2.x/portal-impl/src/com/liferay/portal/security/ldap
Regards,
Meera Prince
Dimitris Siotas, geändert vor 8 Jahren.
RE: LDAP - Liferay organization sync
New Member Beiträge: 5 Beitrittsdatum: 24.08.15 Neueste Beiträge
Thank you both very much.
We will see the source and try to make a hook .
We will see the source and try to make a hook .
Ivan Prakasa, geändert vor 7 Jahren.
RE: LDAP - Liferay organization sync
New Member Beiträge: 7 Beitrittsdatum: 24.08.16 Neueste Beiträge
Can anyone share how to make a hook?
Thank you
Thank you