org.springframework.security.web.access
Interface AccessDeniedHandler
- All Known Implementing Classes:
- AccessDeniedHandlerImpl
public interface AccessDeniedHandler
Used by ExceptionTranslationFilter to handle an
AccessDeniedException.
|
Method Summary |
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AccessDeniedException accessDeniedException)
Handles an access denied failure. |
handle
void handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AccessDeniedException accessDeniedException)
throws java.io.IOException,
javax.servlet.ServletException
- Handles an access denied failure.
- Parameters:
request - that resulted in an AccessDeniedExceptionresponse - so that the user agent can be advised of the failureaccessDeniedException - that caused the invocation
- Throws:
java.io.IOException - in the event of an IOException
javax.servlet.ServletException - in the event of a ServletException