This project is an example of how to implement social login feature using spring framework.
-
Form Login : This is classic login,where there will be a form accepting username and password.User need to submit his/her user details.
-
Social Login (Facebook,twitter & linkedin) : Here social user can signin in the application using their Facebook/Twitter/linkedin accounts. Then we add support for current users to associate their social accounts with their accounts in the application,it is also called mapping social user with local user.
-
User registration via form.
-
Spring Security
-
Spring Social
-
Spring MVC
-
Hibernate (over MySql)
-
JQuery-UI (front end)
This application assumes that you have already created the Facebook,Twitter and Linkedin application used by this application. Once you registered application with social provider developer site,you will api key and secret as follows
facebook.api.key=781512165315051
facebook.api.secret=376f760458f2411bb9dd9a57b2a16fd9
twitter.api.key=kBcdXhCEQcTE8wz5zxliQCJX6
twitter.api.secret=6qiXptqIR1rHyWirlK1Alrk2FXiccyOk0dc2paZRUyjkJqI1IL
linkedin.api.key=75ileo93c5xmr5
linkedin.api.secret=pUdw0kH9ggnj9QQE
mvn clean install
deploy webapp.war in web server(Tomcat).