@Test public void testSuports() { final UserDetailsService uds = context.mock(UserDetailsService.class); final UserDetailsChecker checker = context.mock(UserDetailsChecker.class); OpenAccessAuthenticationProvider sut = new OpenAccessAuthenticationProvider(uds, checker); assertTrue(sut.supports(null)); }
public boolean supports(final Class authentication) { return true; }
OpenAccessAuthenticationProvider implements AuthenticationProvider { public boolean supports(final Class authentication) { return true; } }
OpenAccessAuthenticationProvider implements AuthenticationProvider { public boolean supports(final Class authentication) { return true; } OpenAccessAuthenticationProvider(final UserDetailsService inUserDetailsService,
            final UserDetailsChecker inUserDetailsChecker); }
OpenAccessAuthenticationProvider implements AuthenticationProvider { public boolean supports(final Class authentication) { return true; } OpenAccessAuthenticationProvider(final UserDetailsService inUserDetailsService,
            final UserDetailsChecker inUserDetailsChecker); Authentication authenticate(final Authentication authentication); boolean supports(final Class authentication); }
OpenAccessAuthenticationProvider implements AuthenticationProvider { public boolean supports(final Class authentication) { return true; } OpenAccessAuthenticationProvider(final UserDetailsService inUserDetailsService,
            final UserDetailsChecker inUserDetailsChecker); Authentication authenticate(final Authentication authentication); boolean supports(final Class authentication);  }