Social login with Spring-Social

Spring provides social API and implements it for most of famous social networking site like LinkedIn, Facebook and Twitter. This API integrates easily to a Spring security project to provide authentication using OAuth2 protocol.

This post presents how to use Spring social to authenticate users for an Angular and Spring based project.


Secure AngularJs application with Spring Security

Most of JEE developers are aware of web applications security requirements and are familiar with security frameworks like Spring-Security. But when we have to secure a web application based on front-end framework like AngularJs, we will have to deal with some specific features and we will need to customize the server-side configuration. For example, some…

REST API documentation with Swagger, SpringMVC and AngularJS.

New front-end frameworks like AngularJS consume Rest API’s. As a result, we develop more Rest web services than SOAP ones. Unlike SOAP, REST doesn’t provide wsdl (Web Services Description Language) to provide a definition of how the webservice works. Well documented API make life easier for front-end developer and it is essential requirement for defining…

Dozer – Bean mapping

Mapping frameworks helps to structure beans mapping code and to avoid a mess of nonfunctional code all over the application classes. Dozer is commonly used mapping framework. It provides deferent beans mappings modes (XML, API and annotation). But if you have a complex beans mapping case, you may need to use Dozer API with a…