1
0
mirror of synced 2026-08-04 09:17:02 +00:00

SEC-2805: Remove unnecessary cast in Http403ForbiddenEntryPoint

This commit is contained in:
Rob Winch
2015-03-10 10:58:21 -05:00
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");
}