@Test
public void mustAllowSecurePortRequests() throws Exception {

  SecurityFilter filter = new SecurityFilter();
  MockHttpServletResponse response = new MockHttpServletResponse();
  MockHttpServletRequest request = this.getDefaultRequest();
  request.setServerPort(8441);
  request.setLocalPort(8441);
  request.setRequestURI("/certs/");
  MockFilterChain chain = new MockFilterChain();
  filter.doFilter(request, response, chain);
  assertEquals(request, chain.getRequest());
  assertEquals(response, chain.getResponse());
}