public final class InvalidSessionAccessDeniedHandler extends java.lang.Object implements AccessDeniedHandler
InvalidSessionStrategy
to AccessDeniedHandler
Constructor and Description |
---|
InvalidSessionAccessDeniedHandler(InvalidSessionStrategy invalidSessionStrategy)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AccessDeniedException accessDeniedException)
Handles an access denied failure.
|
public InvalidSessionAccessDeniedHandler(InvalidSessionStrategy invalidSessionStrategy)
invalidSessionStrategy
- the InvalidSessionStrategy
to delegate topublic void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AccessDeniedException accessDeniedException) throws java.io.IOException, javax.servlet.ServletException
AccessDeniedHandler
handle
in interface AccessDeniedHandler
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 IOExceptionjavax.servlet.ServletException
- in the event of a ServletException