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()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("Pre-authenticated entry point called. Rejecting access");
|
logger.debug("Pre-authenticated entry point called. Rejecting access");
|
||||||
}
|
}
|
||||||
HttpServletResponse httpResponse = (HttpServletResponse) response;
|
response.sendError(HttpServletResponse.SC_FORBIDDEN, "Access Denied");
|
||||||
httpResponse.sendError(HttpServletResponse.SC_FORBIDDEN, "Access Denied");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue