public interface AccessDeniedHandler
ExceptionTranslationFilter
to handle an
AccessDeniedException
.Modifier and Type | Method and Description |
---|---|
void |
handle(HttpServletRequest request,
HttpServletResponse response,
AccessDeniedException accessDeniedException)
Handles an access denied failure.
|
void handle(HttpServletRequest request, HttpServletResponse response, AccessDeniedException accessDeniedException) throws java.io.IOException, ServletException
request
- that resulted in an AccessDeniedException
response
- so that the user agent can be advised of the failureaccessDeniedException
- that caused the invocationjava.io.IOException
- in the event of an IOExceptionServletException
- in the event of a ServletException