/** * Override this to perform extra processing on redirect. Headers will have already been set on * the response. * * @param req * the current http request for this filter * @param resp * the current http response for this filter * @param iae * the exception that caused the redirect path * @throws IOException */ protected void onRedirect(HttpServletRequest req, HttpServletResponse resp, AuthenticationHandler.InvalidAuthenticationException iae) throws IOException { resp.sendRedirect(iae.getRedirect()); }
/** * Override this to perform extra processing on redirect. Headers will have already been set on * the response. * * @param req * the current http request for this filter * @param resp * the current http response for this filter * @param iae * the exception that caused the redirect path * @throws IOException */ protected void onRedirect(HttpServletRequest req, HttpServletResponse resp, AuthenticationHandler.InvalidAuthenticationException iae) throws IOException { resp.sendRedirect(iae.getRedirect()); }
/** * Override this to perform extra processing on redirect. Headers will have already been set on * the response. * * @param req * the current http request for this filter * @param resp * the current http response for this filter * @param iae * the exception that caused the redirect path * @throws IOException */ protected void onRedirect(HttpServletRequest req, HttpServletResponse resp, AuthenticationHandler.InvalidAuthenticationException iae) throws IOException { resp.sendRedirect(iae.getRedirect()); }
if (iae.getRedirect() != null) { onRedirect(req, resp, iae); } else {
if (iae.getRedirect() != null) { onRedirect(req, resp, iae); } else {
if (iae.getRedirect() != null) { resp.sendRedirect(iae.getRedirect()); } else {
if (iae.getRedirect() != null) { resp.sendRedirect(iae.getRedirect()); } else {
if (iae.getRedirect() != null) { onRedirect(req, resp, iae); } else {