AccessDecisionVoter voter;
for (Class<? extends AccessDecisionVoter> voterClass : accessDecisionVoters)
{
voter = BeanProvider.getContextualReference(voterClass, false);
violations = voter.checkPermission(voterContext);
if (violations != null && violations.size() > 0)
{
if (voterContext instanceof EditableAccessDecisionVoterContext)
{