final Subject subject = brokerPool.getSubject();
DBBroker broker = null;
Collection collection = null;
try {
broker = brokerPool.get(user);
collection = broker.openCollection(path, Lock.READ_LOCK);
if(collection == null) {
throw new XMLDBException(ErrorCodes.INVALID_COLLECTION, "Collection " + path + " not found");
}
parent = new LocalCollection(user, brokerPool, null, collection.getParentURI(), accessCtx);
} catch(final PermissionDeniedException e) {