From a4b283068c3a8c2793a9ed5bf23115e4edfa31ad Mon Sep 17 00:00:00 2001 From: Dave Ward Date: Thu, 11 Jun 2009 09:04:24 +0000 Subject: [PATCH] MOB-710: LDAP queries now performed with RFC 2696 paging and a configurable page size, defaulting to 1000 (the AD default maximum) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14648 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../ldap/ldap-authentication-context.xml | 10 + .../ldap/ldap-authentication.properties | 5 + .../ldap/LDAPInitialDirContextFactory.java | 31 +- .../LDAPInitialDirContextFactoryImpl.java | 114 +++- .../security/sync/ldap/LDAPUserRegistry.java | 489 ++++++++++-------- 5 files changed, 406 insertions(+), 243 deletions(-) diff --git a/config/alfresco/subsystems/Authentication/ldap/ldap-authentication-context.xml b/config/alfresco/subsystems/Authentication/ldap/ldap-authentication-context.xml index b86ef53aa9..74f82bb910 100644 --- a/config/alfresco/subsystems/Authentication/ldap/ldap-authentication-context.xml +++ b/config/alfresco/subsystems/Authentication/ldap/ldap-authentication-context.xml @@ -149,6 +149,16 @@ ${ldap.synchronization.active} + + + + ${ldap.synchronization.queryBatchSize} + +