The scenario I'm working on is a web service. The web service has
three filters, in order they are: throttle filter, authentication
filter, logging filter.
If a user is not authenticated, the following code should break
out of the filter chain and redirect the user to a custom 403.
On Sat, Jun 27, 2015 at 8:37 AM, Konstantin Kolinko knst.koli...@gmail.com
wrote:
public void doFilter(ServletRequest request, ServletResponse
response,
FilterChain chain) throws IOException, ServletException
{
boolean iAmNotAuthorized = true;
if