// check admin excludes first, if configured:
if(adminFactory != null) {
ExclusionFilter f = adminFactory.get();
if(f == null) {
LOGGER.severe("Unable to get administrative exclusion filter!");
throw new AdministrativeAccessControlException(urlString + "is blocked.");
}
int ruling = f.filterObject(result);
if(ruling == ExclusionFilter.FILTER_EXCLUDE) {
throw new AdministrativeAccessControlException(urlString + "is blocked.");
}
}
// check robots next, if configured
if(robotFactory != null) {
int ruling = robotFactory.get().filterObject(result);