Iterator<AuthorizationDomain> serviceIterator =
utilsService.getServiceIterator(providers, AuthorizationDomain.class);
LOGGER.debug("iterating {} authenticationProviderServices", providers.size());
boolean granted = false;
while (serviceIterator.hasNext()) {
AuthorizationDomain provider = serviceIterator.next();
Access checkAccess = provider.checkAccess(user, action);
if (checkAccess == Access.GRANTED) {
granted = true;
} else if (checkAccess == Access.DENIED) {
return Access.DENIED;
}