spring-social

  1. 使用Service Provider Accounts登录

为了方便用户注册,很多应用允许使用像Twitter 或者 Facebook这样的service provider登录。

Spring Social 支持如下两种基于provider的认证

providerSignInController is a Spring MVC controller that performs a similar flow as connectConntroller except that it ultimately results in an authentication instead of a new connect.

SocialAuthenticationFilter is a Spring Security filter that plugs into Spring Security’s filter chain for provider sign in.