public interface AccessDeniedHandler
ExceptionTranslationFilter
to handle an
AccessDeniedException
.Modifier and Type | Method and Description |
---|---|
void |
handle(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
AccessDeniedException accessDeniedException)
Handles an access denied failure.
|
void handle(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, AccessDeniedException accessDeniedException) throws IOException, javax.servlet.ServletException
request
- that resulted in an AccessDeniedException
response
- so that the user agent can be advised of the failureaccessDeniedException
- that caused the invocationIOException
- in the event of an IOExceptionjavax.servlet.ServletException
- in the event of a ServletExceptionCopyright © 2015. All rights reserved.