sb.append("\n").append(error);
}
throw new IllegalArgumentException(sb.toString());
}
IdentChecker checker = checkers.get();
policy.accept(checker);
if (!checker.getErrors().isEmpty()) {
throw new IllegalArgumentException(checker.getErrors().toString());
}
if (logger.isDebugEnabled()) {
logger.debug("Evaluated security policy:\n{}", policy.toSource());
}