spring - What is passed from parameter userId in SocialUserDetailsService? and how to override it? -
i'm trying use spring social authentication , fetch user according facebook user id stored in user entity.
to i'm doing this.
@component("socialuserdetailsservice") public class secsocialuserdetailservice implements socialuserdetailsservice { @autowired private secuserdetailsservice userdetailsservice; @override public socialuserdetails loaduserbyuserid(string userid) throws usernamenotfoundexception, dataaccessexception { return userdetailsservice.loaduserbyfacebookid(userid); } } but
i have no idea passed in
useridparameter facebook profile?if need override value
emailof facebook profile. how can it?
Comments
Post a Comment