NDC.pushAppend(connectorName);
try {
// TODO [bmj]: It is conceivable that multiple URLs (resources) could
// map to the same repository document (docid). We should handle the
// duplicates, somehow?
QueryResources urlsByDocid = urlsByConnector.getQueryResources(connectorName);
List<String> docidList = new ArrayList<String>(urlsByDocid.getDocids());
Collection<AuthorizationResponse> answerSet =
manager.authorizeDocids(connectorName, docidList, identity);
if (answerSet != null) {
accumulateQueryResults(answerSet, urlsByDocid);
}