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?
Comment From: mazenaissa
As a solution outside the authorization level is to catch the AccessDeniedException and throw the corresponding Exception based on the CRUD method invoked.