LionHeart55 / SocialLogin

Demonstrate How to implement login with Spring Security and with Spring Social. Also Spring MVC, Hibernate, Jquery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpringSecuritySocialLoginExample

Introduction

This project is an example of how to implement social login feature using spring framework.

  1. Form Login : This is classic login,where there will be a form accepting username and password.User need to submit his/her user details.

  2. 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.

  3. User registration via form.

Packages implemented

  1. Spring Security

  2. Spring Social

  3. Spring MVC

  4. Hibernate (over MySql)

  5. JQuery-UI (front end)

ScreenShot

Prerequisites

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 provider details :

facebook.api.key=781512165315051

facebook.api.secret=376f760458f2411bb9dd9a57b2a16fd9

twitter provider details:

twitter.api.key=kBcdXhCEQcTE8wz5zxliQCJX6

twitter.api.secret=6qiXptqIR1rHyWirlK1Alrk2FXiccyOk0dc2paZRUyjkJqI1IL

linkedin provider details:

linkedin.api.key=75ileo93c5xmr5

linkedin.api.secret=pUdw0kH9ggnj9QQE

Build :

mvn clean install

Deploy :

deploy webapp.war in web server(Tomcat).

About

Demonstrate How to implement login with Spring Security and with Spring Social. Also Spring MVC, Hibernate, Jquery


Languages

Language:Java 87.4%Language:CSS 12.6%