Microservices and the 12-Factor App: How to Build Cloud-Native Applications with Spring Boot and Kubernetes

The 12-factor app is a methodology for building software-as-a-service (SaaS) applications that are designed to be deployed in the cloud. It was developed by Heroku, a cloud platform-as-a-service (PaaS) provider, as a way to provide guidelines for building cloud-native applications that are easy to deploy, scale, and maintain. Spring Boot is a Java-based framework for […]

Continue reading

Spring Security – Username case-insensitive?

 1. Overview In this article, we will discuss the username’s case-sensitivity in in-memory authentication. And, find out the reason why the login will be successful even though our username’s case not matched. 2. Configure

All the usernames are in lowercase here. But, we can able to login with “John” or “JOHN” or “john”. 3. Either case […]

Continue reading

Spring Security 5 – There is no PasswordEncoder mapped for the id “null”

What is the issue? type Exception report message There is no PasswordEncoder mapped for the id “null” description The server encountered an internal error that prevented it from fulfilling this request. exception

Background  If we are putting together a demo or a sample, it is a bit cumbersome to take time to hash the passwords of your […]

Continue reading

Spring Boot – Select All Starters and Download

Would you like to select all starters dependencies from Spring Initializer http://start.spring.io/ and work offline? Follow these steps: Go to Spring Initializer http://start.spring.io Click on “Switch to the full version”. Manually select all the dependencies (or) Run the below script (to select all) on Developer Tools -> Console (Chrome browser) Click on Generate Project Open the Project […]

Continue reading
1 2 3