protected boolean checkAccess(String url, PrintWriter writer) {
if (exclusionFactory == null) {
return false;
}
ExclusionFilter filter = exclusionFactory.get();
FastCaptureSearchResult result = new FastCaptureSearchResult();
result.setOriginalUrl(url);
int status = ExclusionFilter.FILTER_EXCLUDE;
String urlKey = url;
try {
// Must set canonicalizer
urlKey = canonicalizer.urlStringToKey(url);
result.setUrlKey(urlKey);
status = filter.filterObject(result);
} catch (URIException e) {
//Exclude invalid
}
if (status == ExclusionFilter.FILTER_INCLUDE) {