Interface AccessDeniedHandler
-
- All Known Implementing Classes:
AccessDeniedHandlerImpl
,BearerTokenAccessDeniedHandler
,DelegatingAccessDeniedHandler
,InvalidSessionAccessDeniedHandler
,RequestMatcherDelegatingAccessDeniedHandler
public interface AccessDeniedHandler
Used byExceptionTranslationFilter
to handle anAccessDeniedException
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AccessDeniedException accessDeniedException)
Handles an access denied failure.
-
-
-
Method Detail
-
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 anAccessDeniedException
response
- so that the user agent can be advised of the failureaccessDeniedException
- that caused the invocation- Throws:
java.io.IOException
- in the event of an IOExceptionjavax.servlet.ServletException
- in the event of a ServletException
-
-