SEC-2805: Remove unnecessary cast in Http403ForbiddenEntryPoint
This commit is contained in:
parent
5e2720723a
commit
b04388ad62
|
@ -43,8 +43,7 @@ public class Http403ForbiddenEntryPoint implements AuthenticationEntryPoint {
|
|||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Pre-authenticated entry point called. Rejecting access");
|
||||
}
|
||||
HttpServletResponse httpResponse = (HttpServletResponse) response;
|
||||
httpResponse.sendError(HttpServletResponse.SC_FORBIDDEN, "Access Denied");
|
||||
response.sendError(HttpServletResponse.SC_FORBIDDEN, "Access Denied");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue