[OT] Re: Filter behaviour

2015-06-27 Thread Leo Donahue
On Sat, Jun 27, 2015 at 8:37 AM, Konstantin Kolinko wrote: > >> > > public void doFilter(ServletRequest request, ServletResponse > response, > > FilterChain chain) throws IOException, ServletException > > { > > boolean iAmNotAuthorized = true; > > > > if (iAmNotAuthorized)

Re: Filter behaviour

2015-06-27 Thread Konstantin Kolinko
>> >> > 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 u