Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Remove SpringSocialDialect bean now that Boot is taking care of it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Walls committed Jun 17, 2014
1 parent aa3b616 commit 77a79c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion spring-social-showcase-boot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.0.RELEASE")
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.2.BUILD-SNAPSHOT")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.web.savedrequest.HttpSessionRequestCache;
import org.springframework.social.connect.web.SignInAdapter;
import org.springframework.social.connect.web.thymeleaf.SpringSocialDialect;
import org.springframework.social.showcase.signin.SimpleSignInAdapter;

@ComponentScan(basePackages="org.springframework.social.showcase")
Expand All @@ -18,11 +17,6 @@ public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}

@Bean
public SpringSocialDialect springSocialDialect() {
return new SpringSocialDialect();
}

@Bean
public SignInAdapter signInAdapter() {
return new SimpleSignInAdapter(new HttpSessionRequestCache());
Expand Down

0 comments on commit 77a79c2

Please sign in to comment.