import org.springframework.social.security.provider.OAuth2AuthenticationService;
public class GoogleAuthenticationService extends OAuth2AuthenticationService<Google> {
public GoogleAuthenticationService(String apiKey, String appSecret) {
super(new GoogleConnectionFactory(apiKey, appSecret));
}