sharepointClientContext.setLargeACLThreshold(this.largeACLThreshold);
sharepointClientContext.setGroupResolutionBatchSize(
this.groupResolutionBatchSize);
if (!oldLdapBehavior) {
adGroupsConnector = new AdGroupsConnector();
adGroupsConnector.setHostname(ldapServerHostAddress);
adGroupsConnector.setPort(portNumber);
adGroupsConnector.setMethod(connectMethod);
adGroupsConnector.setPrincipal(username + SPConstants.AT + domain);
adGroupsConnector.setPassword(password);