Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AccessDeniedExceptionHandler handle method never called  RSS feed

 
Mat Anthony
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Every time a user does not have the correct access permission to any of the methods a org.springframework.security.access.AccessDeniedException is thrown.
I have written a customised AccessDeniedExceptionHandler to capture this exception, but the handle method is never called.



file:applicationContext_security.xml


Mat



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!