Package com.logicaldoc.ldap
Class LDAPSynchroniser
- java.lang.Object
-
- com.logicaldoc.ldap.LDAPSynchroniser
-
public class LDAPSynchroniser extends Object
This class is responsible for the synchronisation of users and groups in the LogicalDOC store from the counterparts in the LDAP directory.- Since:
- 4.5
- Author:
- Sebastian Wenzky
-
-
Constructor Summary
Constructors Constructor Description LDAPSynchroniser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<com.logicaldoc.core.security.User>
doImport(List<LDAPUser> users, LDAPServer server)
long
getErrors()
long
getImported()
long
getUpdated()
void
setGroupDao(com.logicaldoc.core.security.dao.GroupDAO groupDao)
void
setUserDao(com.logicaldoc.core.security.dao.UserDAO userDao)
-
-
-
Method Detail
-
getImported
public long getImported()
-
getUpdated
public long getUpdated()
-
getErrors
public long getErrors()
-
doImport
public Collection<com.logicaldoc.core.security.User> doImport(List<LDAPUser> users, LDAPServer server)
-
setUserDao
public void setUserDao(com.logicaldoc.core.security.dao.UserDAO userDao)
-
setGroupDao
public void setGroupDao(com.logicaldoc.core.security.dao.GroupDAO groupDao)
-
-