@Test public void testSupports() { VistaAuthenticationProvider provider = new VistaAuthenticationProvider(); assertTrue(provider.supports(VistaAuthenticationToken.class)); assertFalse(provider.supports(UsernamePasswordAuthenticationToken.class)); }
public boolean supports(Class authentication) { return VistaAuthenticationToken.class.isAssignableFrom(authentication); }
VistaAuthenticationProvider implements AuthenticationProvider, MessageSourceAware, InitializingBean { public boolean supports(Class authentication) { return VistaAuthenticationToken.class.isAssignableFrom(authentication); } }
VistaAuthenticationProvider implements AuthenticationProvider, MessageSourceAware, InitializingBean { public boolean supports(Class authentication) { return VistaAuthenticationToken.class.isAssignableFrom(authentication); }  }
VistaAuthenticationProvider implements AuthenticationProvider, MessageSourceAware, InitializingBean { public boolean supports(Class authentication) { return VistaAuthenticationToken.class.isAssignableFrom(authentication); }  void afterPropertiesSet(); Authentication authenticate(Authentication authentication); void setMessageSource(MessageSource messageSource); void setUserCache(UserCache userCache); boolean supports(Class authentication); VistaUserDetailsService getUserDetailsService(); @Required void setUserDetailsService(VistaUserDetailsService userDetailsService); UserCache getUserCache(); }
VistaAuthenticationProvider implements AuthenticationProvider, MessageSourceAware, InitializingBean { public boolean supports(Class authentication) { return VistaAuthenticationToken.class.isAssignableFrom(authentication); }  void afterPropertiesSet(); Authentication authenticate(Authentication authentication); void setMessageSource(MessageSource messageSource); void setUserCache(UserCache userCache); boolean supports(Class authentication); VistaUserDetailsService getUserDetailsService(); @Required void setUserDetailsService(VistaUserDetailsService userDetailsService); UserCache getUserCache();  }