@Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException { if (isIgnored(request, response)) { if (LOG.isTraceEnabled()) { LOG.trace(String.format("%s filtering is disabled for %s", this.getClass().getName(), request.getRequestURI())); } filterChain.doFilter(request, response); } else { if (LOG.isTraceEnabled()) { LOG.trace(String.format("%s filtering is enabled for %s", this.getClass().getName(), request.getRequestURI())); } super.doFilterInternal(request, response, filterChain); } }