@Test void givenNoCertificates_thenDontUpdate_whenCallFilter() throws IOException, ServletException { ApimlX509Filter filter = new ApimlX509Filter(Collections.emptySet()); filter.doFilter(request, response, chain); assertNull(request.getAttribute("javax.servlet.request.X509Certificate")); verify(chain, times(1)).doFilter(request, response); }
@Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { categorizeCerts(request); super.doFilter(request, response, chain); }
ApimlX509Filter extends X509AuthenticationFilter { @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { categorizeCerts(request); super.doFilter(request, response, chain); } }
ApimlX509Filter extends X509AuthenticationFilter { @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { categorizeCerts(request); super.doFilter(request, response, chain); }  }
ApimlX509Filter extends X509AuthenticationFilter { @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { categorizeCerts(request); super.doFilter(request, response, chain); }  @Override void doFilter(ServletRequest request, ServletResponse response, FilterChain chain); }
ApimlX509Filter extends X509AuthenticationFilter { @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { categorizeCerts(request); super.doFilter(request, response, chain); }  @Override void doFilter(ServletRequest request, ServletResponse response, FilterChain chain);  }