@Test public void shouldSupportUsernamePasswordAuthentication() { assertTrue(gatewayLoginProvider.supports(UsernamePasswordAuthenticationToken.class)); }
@Override public boolean supports(Class<?> auth) { return auth.equals(UsernamePasswordAuthenticationToken.class); }
GatewayLoginProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> auth) { return auth.equals(UsernamePasswordAuthenticationToken.class); } }
GatewayLoginProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> auth) { return auth.equals(UsernamePasswordAuthenticationToken.class); }  }
GatewayLoginProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> auth) { return auth.equals(UsernamePasswordAuthenticationToken.class); }  @Override Authentication authenticate(Authentication authentication); @Override boolean supports(Class<?> auth); }
GatewayLoginProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> auth) { return auth.equals(UsernamePasswordAuthenticationToken.class); }  @Override Authentication authenticate(Authentication authentication); @Override boolean supports(Class<?> auth);  }