Foros de discusión

force liferay to start user/group import

thumbnail
Sarah L Farley, modificado hace 12 años.

force liferay to start user/group import

Junior Member Mensajes: 37 Fecha de incorporación: 6/05/09 Mensajes recientes
Hi,

I am wondering if there is a away (other than stopping and restarting tomcat) to have liferay import users/groups?

My LDAP configurations are in the portal-ext.properties file.

Thanks!

Sarah
thumbnail
Jan Gregor, modificado hace 12 años.

RE: force liferay to start user/group import

Regular Member Mensajes: 224 Fecha de incorporación: 20/10/10 Mensajes recientes
Hi Sarah,

You probably means, how to start the LDAP import manually ? Well, no. You can specifiy, whether the import should start at the server start. Then you can set the interval, in which will be import be triggered. That means, X hours the import will be triggered. You can write your plugin, which will call the LDAP import API, so you will be able to start the import manually. Out of the box, there is no "LDAP start" button.

Regards,

Jan.
Pierre Morin, modificado hace 10 años.

RE: force liferay to start user/group import

Junior Member Mensajes: 70 Fecha de incorporación: 17/05/11 Mensajes recientes
You can do this by using a JavaScript in the Scripts tab in Server Administration :
Packages.com.liferay.portal.security.ldap.PortalLDAPImporterUtil.importFromLDAP();
Alberto de Francisco Martín, modificado hace 7 años.

RE: force liferay to start user/group import

New Member Mensajes: 17 Fecha de incorporación: 1/02/10 Mensajes recientes
Pierre Morin:
You can do this by using a JavaScript in the Scripts tab in Server Administration :
Packages.com.liferay.portal.security.ldap.PortalLDAPImporterUtil.importFromLDAP();


Great and functional solution !
Thanks Pierre