List<String> objectClasses = Arrays.asList(getRestTemplate().postForObject(
baseUrl + "connector/supportedObjectClasses/list", connInstanceTO, String[].class));
List<ConnIdObjectClassTO> result = new ArrayList<ConnIdObjectClassTO>(objectClasses.size());
for (String objectClass : objectClasses) {
result.add(new ConnIdObjectClassTO(objectClass));
}
return result;
}