I am using Spring Security with a custom permission evaluator and i am looking for a solution to override the static AccessDeniedException message "Access is denied" to be dynamically based on the permission checked. Any help?