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

  1. i have no idea passed in userid parameter facebook profile?

  2. if need override value email of facebook profile. how can it?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -