Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update to Spring Social Core 1.1.0.M1 #3

Merged
merged 3 commits into from

2 participants

@ngriso

Hi,

Here are the changes I made to use spring-social-salesforce with the lastest spring-social-core milestone.

Nicolas

ngriso added some commits
@ngriso ngriso * upgrade project version
* upgrade spring social version to 1.1.0.M1
1a661dd
@ngriso ngriso clean Sys.out.println 572445e
@ngriso ngriso Set OAuth2Template to use parameter-based client authentication (see…
… SOCIAL-320) since Salesforce does not yet support the spec-recommended HTTP Basic client authentication.
082f569
@umut umut merged commit 3888e7d into umut:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 11, 2012
  1. @ngriso

    * upgrade project version

    ngriso authored
    * upgrade spring social version to 1.1.0.M1
  2. @ngriso

    clean Sys.out.println

    ngriso authored
  3. @ngriso

    Set OAuth2Template to use parameter-based client authentication (see…

    ngriso authored
    … SOCIAL-320) since Salesforce does not yet support the spec-recommended HTTP Basic client authentication.
This page is out of date. Refresh to see the latest.
View
35 pom.xml
@@ -4,50 +4,43 @@
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-salesforce</artifactId>
- <version>1.0.0.BUILD-SNAPSHOT</version>
+ <version>1.1.0.BUILD-SNAPSHOT</version>
<packaging>jar</packaging>
<name>spring-social-salesforce</name>
- <url>http://maven.apache.org</url>
+ <url>https://github.com/umut/spring-social-salesforce</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <spring-social-core.version>1.1.0.M1</spring-social-core.version>
+ <spring-social-test.version>1.0.2.RELEASE</spring-social-test.version>
+ <jackson.version>1.8.5</jackson.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-core</artifactId>
- <version>1.0.0.RELEASE</version>
+ <version>${spring-social-core.version}</version>
</dependency>
<dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <version>${jackson.version}</version>
+ </dependency>
+
+ <dependency>
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-test</artifactId>
- <version>1.0.0.RELEASE</version>
+ <version>${spring-social-test.version}</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>3.1.0.RELEASE</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.8.5</version>
- </dependency>
- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.9</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.8.5</version>
- <scope>test</scope>
- </dependency>
</dependencies>
<build>
@@ -55,7 +48,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <!--<version>2.3.2</version>-->
+ <version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
View
1  src/main/java/org/springframework/social/salesforce/api/impl/SalesforceTemplate.java
@@ -49,7 +49,6 @@ public SalesforceTemplate() {
public SalesforceTemplate(String accessToken) {
super(accessToken);
initialize();
- System.out.println("ACCESS TOKEN: " + accessToken);
}
View
3  src/main/java/org/springframework/social/salesforce/connect/SalesforceOAuth2Template.java
@@ -18,11 +18,12 @@
public SalesforceOAuth2Template(String clientId, String clientSecret, String authorizeUrl, String accessTokenUrl) {
- super(clientId, clientSecret, authorizeUrl, accessTokenUrl);
+ this(clientId, clientSecret, authorizeUrl, null, accessTokenUrl);
}
public SalesforceOAuth2Template(String clientId, String clientSecret, String authorizeUrl, String authenticateUrl, String accessTokenUrl) {
super(clientId, clientSecret, authorizeUrl, authenticateUrl, accessTokenUrl);
+ setUseParametersForClientAuthentication(true);
}
Something went wrong with that request. Please try again.