开发者

Facebook login with Spring Security

I have successfully logged in with Facebook Javascript SDK and in server side I have successfully loaded facebook User with http://restfb.com/, but how can I authenticate my user via Spring Security? Since my facebook user doesn't have username and password, I ca开发者_运维技巧nnot user regular authentication method, so how can I authenticate this facebook user in my app?


I don't know much of the actual implementation details, but I would have thought you want to use OAuth using your spring application as the consumer and facebook as the service provider. http://static.springsource.org/spring-security/oauth/index.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜