// Now since the authentication process if finished
// move the request forward
filterChain.doFilter(request, response);
} else {
throw new AuthCredentialsMissingException(msg.aParamMissing);
}
} else {
throw new AuthCredentialsMissingException(msg.aParamMissing);
}
} else {
throw new AuthCredentialsMissingException(msg.aParamMissing);
}
} catch (AuthenticationFailedException ae) {
response.setHeader("content-type", request.getHeader("content-type"));
response.sendRedirect(props.fApiPath + ApiRoute.errorController + ApiRoute.authFailedUrl + suffix);