String user = getAuthenticatedUser();
if (user == null) {
return false;
}
UIAction secureAction =
new UIAction(attributeList, arg1.getName(), ImmutableMap.of("component", (Object) arg0));
Access checkAccess = authorizer.checkAccess(user, secureAction);
if (checkAccess != Access.GRANTED) {
LOGGER.warn("User {} was denied action {} on component {}", new Object[]{ user, arg1.toString(),
arg0.getClass().getName() });