Join Unrelated Entities and Map the Result to POJO with Spring Data JPA and Hibernate

Introduction In the previous article, we have seen how to call a stored procedure and map the native query result to POJO with Hibernate In this article, we're going to…

Continue ReadingJoin Unrelated Entities and Map the Result to POJO with Spring Data JPA and Hibernate

How to Build a Custom Spring Boot Starter for Microservices

  • Post author:
  • Post category:Spring Boot
  • Post comments:0 Comments
  • Post last modified:December 13, 2020

Overview Spring Boot provides the parent POM for easier creation of Spring Boot applications. However, not everyone likes inheriting from the spring-boot-starter-parent POM. In one of the projects I have worked earlier, we have…

Continue ReadingHow to Build a Custom Spring Boot Starter for Microservices

How to Secure Spring Boot 2 REST API using LDAP Authentication and Authorization with MySQL Database in 3 Steps

  • Post author:
  • Post category:Spring Boot
  • Post comments:0 Comments
  • Post last modified:December 6, 2020

In the previous article we have secured the REST API with Spring Security JWT Authentication. Now we are gonna add LDAP Authentication and Role Based Authorization with Database to the same REST…

Continue ReadingHow to Secure Spring Boot 2 REST API using LDAP Authentication and Authorization with MySQL Database in 3 Steps

How to Secure Spring Boot 2 REST API with Spring Security 5 JWT Authentication, Role-based Authorization and MySQL Database in 9 Steps

  • Post author:
  • Post category:Spring Boot
  • Post comments:8 Comments
  • Post last modified:February 15, 2023

In the previous article, we have secured the REST API with Spring Security Basic Authentication. Now we are gonna add JWT Authentication and Role-Based Authorization to the same REST API that we…

Continue ReadingHow to Secure Spring Boot 2 REST API with Spring Security 5 JWT Authentication, Role-based Authorization and MySQL Database in 9 Steps