掲示板

force liferay to start user/group import

thumbnail
12年前 に Sarah L Farley によって更新されました。

force liferay to start user/group import

Junior Member 投稿: 37 参加年月日: 09/05/06 最新の投稿
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
12年前 に Jan Gregor によって更新されました。

RE: force liferay to start user/group import

Regular Member 投稿: 224 参加年月日: 10/10/20 最新の投稿
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.
10年前 に Pierre Morin によって更新されました。

RE: force liferay to start user/group import

Junior Member 投稿: 70 参加年月日: 11/05/17 最新の投稿
You can do this by using a JavaScript in the Scripts tab in Server Administration :
Packages.com.liferay.portal.security.ldap.PortalLDAPImporterUtil.importFromLDAP();
7年前 に Alberto de Francisco Martín によって更新されました。

RE: force liferay to start user/group import

New Member 投稿: 17 参加年月日: 10/02/01 最新の投稿
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