Spring Social Facebook登录名在数据库中插入anonymousUser [英] Spring Social Facebook Login inserts anonymousUser in database

查看:70
本文介绍了Spring Social Facebook登录名在数据库中插入anonymousUser的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://i.stack.imgur.com/xjsWJ.png

UserConnection表将由anonymousUser填充.我应该怎么做才能使其正常工作?

UserConnection table gets populated by anonymousUser after successful authentication by Facebook. What should I do to make it work?

推荐答案

我使用ProviderSignInController,覆盖其方法,使用SignInUtils添加用户.

I used ProviderSignInController, override its methods, used SignInUtils to add the user.

这篇关于Spring Social Facebook登录名在数据库中插入anonymousUser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆