NegotiateAuthenticationFilter extends AuthenticatingFilter { private boolean isLoginAttempt(final ServletRequest request) { final String authzHeader = this.getAuthzHeader(request); return authzHeader != null && this.isLoginAttempt(authzHeader); } NegotiateAuthenticationFilter(); String getRememberMeParam(); void setRememberMeParam(final String value); String getFailureKeyAttribute(); void setFailureKeyAttribute(final String value);  }
@Test void testIsLoginAttempt() { Assertions.assertFalse(this.negAuthFilter.isLoginAttempt("")); Assertions.assertTrue(this.negAuthFilter.isLoginAttempt("NEGOTIATe")); Assertions.assertTrue(this.negAuthFilter.isLoginAttempt("ntlm")); }