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: Spring
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 read different properties file based on Spring Profile in a Spring MVC project
How to read different properties file based on Spring Profile in a Spring MVC project Introduction This tutorial aims towards providing a solution for selecting properties file based on the profile injected for a Spring MVC application at run time. Technologies used Spring 3.1 Java 8 How to inject Spring profile Spring profiles can be […]
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 change the default spring social redirect page flow
How to fix spring boot and spring social redirection to facebookConnected.html twitterConnected.html,linkedInconnected.html or googleConnected.html Introduction Spring Boot when plugged with Spring social does provide a quick and easy way to log on to social providers and access the data quickly. However, it does have lot of shortcomings too like Supporting only single user sign per […]
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 […]