amobiz / spring-social-showcase-sec-appengine

Sample of using Spring Social on Google App Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample of using Spring Social on Google App Engine

Forks from:

spring-projects / spring-social-samples

vtserman / spring-social-appengine

This sample applies dirty hacks on these issues:

ProviderSignInAttempt - NotSerializableException: ConnectionFactoryRegistry

Persistent session managment - NotSerializableException for OAuth2Connection and OAuth1Connection

SocialAuthenticationProvider should support multiple connections

Notes on my dirty hacks:

Changes the references to non-serializable objects transient:

  • org.springframework.social.connect.web.ProviderSignInAttempt
  • org.springframework.social.security.SocialAuthenticationToken

Fix the if condition directly:

  • org.springframework.social.security.SocialAuthenticationProvider

Maven Configuration for Google App Engine

Instructions (Spring Social Showcase Security)

This sample app demonstrates many of the capabilities of the Spring Social project, including:

  • Connect to Facebook
  • Connect to Twitter
  • Sign in using Facebook
  • Sign in using Twitter
  • Using SocialAuthenticationFilter for provider-signin instead of ProviderSignInController

To run, simply import the project into your IDE and deploy to a Servlet 2.5 or > container such as Tomcat 6 or 7. Access the project at http://localhost:8080/spring-social-showcase

Discuss at forum.springsource.org and collaborate with the development team at jira.springframework.org/browse/SOCIAL.

About

Sample of using Spring Social on Google App Engine

License:Apache License 2.0


Languages

Language:Java 98.2%Language:CSS 1.8%