1. Juan Carlos Picado Herrera
  2. encuestame

Commits

Juan Carlos Picado Herrera  committed 0cbc83e

Fixed compile error

  • Participants
  • Parent commits b7e1597
  • Branches master

Comments (0)

Files changed (3)

File encuestame-business/src/main/java/org/encuestame/business/service/social/connect/ILinkedInSocialProvider.java

View file
  • Ignore whitespace
  */
 package org.encuestame.business.service.social.connect;
 
-import org.springframework.social.linkedin.LinkedInOperations;
-import org.springframework.social.twitter.TwitterOperations;
+import org.springframework.social.linkedin.LinkedInApi;
 
 
 /**
  */
 public interface ILinkedInSocialProvider extends AbstractISocialService {
 
-    String fetchProviderAccountId(LinkedInOperations serviceOperations);
+    String fetchProviderAccountId(LinkedInApi serviceOperations);
 
 
 }

File encuestame-business/src/main/java/org/encuestame/business/service/social/provider/SocialProvider.java

View file
  • Ignore whitespace
+
+package org.encuestame.business.service.social.provider;
+
+
+public class SocialProvider {
+
+}

File encuestame-mvc/src/main/java/org/encuestame/mvc/controller/social/facebook/FacebookConnectSignIn.java

View file
  • Ignore whitespace
 import org.encuestame.persistence.domain.security.UserAccount;
 import org.encuestame.persistence.exception.EnMeDomainNotFoundException;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.social.facebook.FacebookAccessToken;
 import org.springframework.social.facebook.FacebookProfile;
 import org.springframework.social.facebook.FacebookTemplate;
+import org.springframework.social.facebook.web.FacebookCookieValue;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
      * Notifies the user if the access token is invalid.
      */
     @RequestMapping(value="/signin/facebook", method=RequestMethod.POST)
-    public String signin(@FacebookAccessToken String accessToken) {
+    public String signin(@FacebookCookieValue String accessToken) {
         try {
             UserAccount account = this.facebookSocialService.findAccountByConnection(accessToken);
             authenticate(account);