How to enable communication over https between 2 spring boot applications using self signed certificate Introduction In this tutorial, we will try to cover how we can enable HTTPS communication over 2 Spring boot applications. HTTPS was developed for exchanging confidential information in a secured manner by making use of encryption using public and private keys in […]
Category: SpringBoot
Part-2: Authorising user using Spring Social (Google, Facebook, LinkedIn) and Spring Security
Part-2: Authorising user using Spring Social (Google, FaceBook and LinkedIn) and Spring Security Introduction In the last part, I had demonstrated how we can use spring-social to authorize user using Facebook, Google and LinkedIn API’s. If you have not read the last part, I would request you to have a look and then come […]
Part -1 : Authorising user using Spring Social (Google, FaceBook and LinkedIn) and Spring Security
Part-1: Authorising user using Spring Social (Google, FaceBook and LinkedIn) Introduction Social Logins are becoming increasingly popular across web applications, they not only offer good user experience are safe and also saves the user from password fatigue. Imagine losing a customer because they can not log on to the application as they cannot remember a […]
How to use Spring Profiles with Docker Containers
How to use Spring Profiles with Docker Containers Introduction Spring Profiles are an effective way of implementing environment independent code. The properties file or @Beans can be selected dynamically at run time based on the profile injected. Assuming that you are quite familiar with the spring profiles and looking for injecting profiles in a […]
Part 3 :Authorising user using Spring Social (Google, Facebook, LinkedIn) and Spring Security
Part-3: Authorising user using Spring Social (Google, Facebook, LinkedIn) and Spring Security Introduction In Part-1, We discussed how to authenticate with social providers like Facebook, Google, and LinkedIn. Along with that, we changed the default page flow for spring social, enabled it to be used by multiple users and provided support for Google. In Part-2, […]
How to consume REST based web service in Spring BOOT
How to consume REST based web service in Spring BOOT Introduction In my last tutorial I wrote about Consuming a secure SOAP based web service in Spring Boot application, In this tutorial, I will talk about consuming a simple unsecured REST service in Spring Boot Consuming REST service is very simple and less ad-hoc than […]
How to consume a secure SOAP Web service in Spring Boot Application
How to consume a secure SOAP Web service by adding WS-SECURITY SOAP header in Spring Boot Application Introduction Consuming a SOAP based web service is one of the common use cases a developer will come across. There are different implementations like JAX-WS, Axis1/2 and CXF which helps us in calling the web services easily. While […]
How to Add Bootstrap Css and JQuery To Spring Boot MVC Application
How to add Bootstrap, Font-Awesome and Jquery to spring Boot Project Introduction Twitter Bootstrap is one of the most popular front-end frameworks for responsive web design and development. Font Awesome provides us with scalable vector icons that can be customised. Needless to say, anything about Jquery, since it is the number 1 Javascript framework and […]
How to access LinkedIn data using spring-social
How to access LinkedIn data using spring-social and spring boot Introduction Spring Social provides the capability which enables our application to interact with LinkedIn Rest API and get user data. Considering how popular social logins have become recently, it is a nice feature to have on your website. Getting started I would suggest you to […]
How to access google data using spring-social and spring boot
How to access google data using spring-social Introduction Spring social do have a spring-social-google project but it doesn’t have autoconfiguration for Google. So google authorization doesn’t work with spring boot autoconfigure straight away. I had created a pull request and merged the code to spring repository but got the following reply Thanks for the PR. […]