protected void doFilterChain ( ServletRequest request , ServletResponse response , FilterChain chain , AuthPrincipal principal ) throws IOException , ServletException { if ( principal == null ) { chain . doFilter ( request , response ) ; } else { HttpServletRequest hsr ; hsr = wrapTheRequest ( request , principal ) ; chain . doFilter ( hsr , response ) ; } }
Further process the filter chain .