logConnectionParameters(connectionParams);
eas = ExternalApiSupport.forCall(user, pwd);
connInfo = createConnectionInfo(eas, connectionParams, sourceId, targetId);
LOG.info("Connection info: " + connInfo);
try {
ObjectClassDefinitionRetriever worker = new ObjectClassDefinitionRetriever();
ObjectClassDefinition[] classDefs = worker.lookupObjectClassDefinitions(
connInfo, skipAbstract, skipObsolete);
return convert(classDefs);
} catch (LdapException ex) {
convert(ex, connInfo, "getObjectClasses");
return null;