assertEquals("/bigWebApp/hello", response.getRedirectedUrl());
assertEquals("https: response.getRedirectedUrl());
    public void testHttpsOperationFromOriginalHttpsUrl()        throws Exception {        MockHttpServletRequest request = new MockHttpServletRequest();        request.setRequestURI("/some_path");        request.setScheme("https");        request.setServerName("www.example.com");        request.setContextPath("/bigWebApp");        request.setServerPort(443);        MockHttpServletResponse response = new MockHttpServletResponse();        AuthenticationProcessingFilterEntryPoint ep = new AuthenticationProcessingFilterEntryPoint();        ep.setLoginFormUrl("/hello");        ep.setPortMapper(new PortMapperImpl());        ep.setForceHttps(true);        ep.setPortMapper(new PortMapperImpl());        ep.setPortResolver(new MockPortResolver(80, 443));        ep.afterPropertiesSet();        ep.commence(request, response, null);        assertEquals("/bigWebApp/hello", response.getRedirectedUrl());        request.setServerPort(8443);        response = new MockHttpServletResponse();        ep.setPortResolver(new MockPortResolver(8080, 8443));        ep.commence(request, response, null);        assertEquals("/bigWebApp/hello", response.getRedirectedUrl());    }