Foren
Two LDAP
Eric Cambray, geändert vor 15 Jahren.
Two LDAP
New Member Beiträge: 17 Beitrittsdatum: 15.02.08 Neueste Beiträge
Hello,
I have configured Liferay 5.1.1 with CAS and LDAP. All works fine.
Now I need to have two LDAP (internal users / external users, and they can't be on the same LDAP), but I don't see how to do this. Someone already do this?
Thanks.
I have configured Liferay 5.1.1 with CAS and LDAP. All works fine.
Now I need to have two LDAP (internal users / external users, and they can't be on the same LDAP), but I don't see how to do this. Someone already do this?
Thanks.
Nidhi Singh, geändert vor 14 Jahren.
RE: Two LDAP
Regular Member Beiträge: 155 Beitrittsdatum: 07.10.09 Neueste BeiträgeEric Cambray:
Hello,
I have configured Liferay 5.1.1 with CAS and LDAP. All works fine.
Now I need to have two LDAP (internal users / external users, and they can't be on the same LDAP), but I don't see how to do this. Someone already do this?
Thanks.
Hi,
yes, I did. for this you have to change many files like \html\portlet\enterprise_admin\settings\authentication.jsp, authentication_ldap.jspf, com.liferay.portal.util.PropsKeys.java file.
In PropsKeys.java file, you have to add one more base provider url for second LDAP like PropsKeys.LDAP_BASE_PROVIDER_URL2.
modify com.liferay.portal.security.ldap.PortalLDAPUtil.java file for second LDAP.
Thanks
Nidhi Singh