File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AccessDeniedExceptionHandler handle method never called

 
Mat Anthony
Ranch Hand
Posts: 259
  • 0
  • 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