wood burning stoves 2.0*
The moose likes Spring and the fly likes AccessDeniedExceptionHandler handle method never called Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "AccessDeniedExceptionHandler handle method never called" Watch "AccessDeniedExceptionHandler handle method never called" New topic
Author

AccessDeniedExceptionHandler handle method never called

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 232
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



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AccessDeniedExceptionHandler handle method never called