Category: Spring Boot


  • When you have multiple tenants sharing the same application, you’ll see connection pool issues and authentication problems. The mistake I see in every code review is not implementing a proper multi-tenancy strategy. TL;DR: In this tutorial, you’ll learn how to implement multi-tenancy authentication in Spring Security. You’ll create a custom authentication provider and configure it…

  • Prerequisites for Spring Security Filter Chain To work with **Spring Security**, you need to have a few dependencies in place. First, ensure you have the **Spring Boot** version 2.7.3 or later, as this version provides the most up-to-date security features. Additionally, you should be using **Java** 17 or later, as this version provides the necessary…

  • Prerequisites for Spring Security CSRF Protection To implement **Spring Security** CSRF protection, you need to have the required dependencies in your project. The primary dependency is the **Spring Security** framework, which can be added to your project using Maven or Gradle. You also need to have a basic understanding of **Java** and the **Spring** framework.…

  • Prerequisites for Remote Chunking and Partitioning To implement **Spring Batch** remote chunking and partitioning, you need to have a good understanding of the underlying dependencies and setup. The required dependencies include **Spring Batch Core**, **Spring Batch Infrastructure**, and **Spring Integration**. You also need to have a message broker such as **RabbitMQ** or **Apache Kafka** set…