@Test public void testNullSecurityToken() throws Exception { filter.setAuthenticationHandlers(ImmutableList.<AuthenticationHandler>of(nullStHandler)); filter.doFilter(request, recorder, chain); assertEquals(TEST_AUTH_HEADER, recorder.getHeader(AuthenticationServletFilter.WWW_AUTHENTICATE_HEADER)); }
@Test public void testNullSecurityToken() throws Exception { filter.setAuthenticationHandlers(ImmutableList.<AuthenticationHandler>of(nullStHandler)); filter.doFilter(request, recorder, chain); assertEquals(TEST_AUTH_HEADER, recorder.getHeader(AuthenticationServletFilter.WWW_AUTHENTICATE_HEADER)); }
@Test public void testNullSecurityToken() throws Exception { filter.setAuthenticationHandlers(ImmutableList.<AuthenticationHandler>of(nullStHandler)); filter.doFilter(request, recorder, chain); assertEquals(TEST_AUTH_HEADER, recorder.getHeader(AuthenticationServletFilter.WWW_AUTHENTICATE_HEADER)); }