getLogger().trace(getBundle().getString("access-checking", username, operation, resource));
}
if (!getSecurityContext().hasPermission(resource, operation)) {
getLogger().error(getBundle().getString("access-denied", username, operation, resource));
throw new AuthorizationException(getBundle().getString("access-denied-ui", resource, operation));
}
getLogger().debug(getBundle().getString("access-allowed", username, operation, resource));
return ic.proceed();
}