This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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


Win a copy of The Software Craftsman this week in the Agile forum!
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: 237
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