DelegatingNegotiateSecurityFilter extends NegotiateSecurityFilter { public AccessDeniedHandler getAccessDeniedHandler() { return this.accessDeniedHandler; } DelegatingNegotiateSecurityFilter(); AccessDeniedHandler getAccessDeniedHandler(); void setAccessDeniedHandler(final AccessDeniedHandler value); AuthenticationFailureHandler getAuthenticationFailureHandler(); void setAuthenticationFailureHandler(final AuthenticationFailureHandler value); @Override void afterPropertiesSet(); AuthenticationSuccessHandler getAuthenticationSuccessHandler(); void setAuthenticationSuccessHandler(final AuthenticationSuccessHandler value); AuthenticationManager getAuthenticationManager(); void setAuthenticationManager(final AuthenticationManager value);  }
@Test void testFilter() { Assertions.assertFalse(this.filter.isAllowGuestLogin()); Assertions.assertEquals(PrincipalFormat.FQN, this.filter.getPrincipalFormat()); Assertions.assertEquals(PrincipalFormat.BOTH, this.filter.getRoleFormat()); Assertions.assertNull(this.filter.getFilterConfig()); Assertions.assertNotNull(this.filter.getProvider()); Assertions.assertTrue(this.filter.getAccessDeniedHandler() instanceof CustomAccessDeniedHandler); }