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:3 Comments
  • Post last modified:September 29, 2021

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

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

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

In the previous article we have integrated Swagger 2 with Spring Boot REST CRUD API. Now we are gonna secure the REST API with Spring Security Basic Authentication and Role Based Authorization.…

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

How to Build Spring Boot 2.X RESTful CRUD API with Spring Data JPA, Hibernate, Lombok, and MySQL Database in 7 Simple Steps

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

In the previous article we have implemented a REST API without using Spring Boot. In this article we are gonna implement RESTful services using Spring Boot in 7 simple steps.…

Continue ReadingHow to Build Spring Boot 2.X RESTful CRUD API with Spring Data JPA, Hibernate, Lombok, and MySQL Database in 7 Simple Steps

Logging, Performance Monitoring, Security and Transaction Management with Spring AOP

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

This article is the continuation of the previous article and aims to implement logging, events publishing, user access security, transaction management, and performance monitoring using Spring AOP. Design Spring AOP…

Continue ReadingLogging, Performance Monitoring, Security and Transaction Management with Spring AOP

How to add Spring Boot Actuator 2.X Support to Spring MVC / REST Application without Spring Boot

  • Post author:
  • Post category:Spring Boot
  • Post comments:8 Comments
  • Post last modified:August 25, 2021

In the previous article, we have secured the REST API with Spring Security and JSON Web Token (JWT) without using Spring Boot. Now we are gonna add Spring Boot actuator 2.X support to…

Continue ReadingHow to add Spring Boot Actuator 2.X Support to Spring MVC / REST Application without Spring Boot

How to Generate Rich Link Preview for Website Link / URL based on the Meta Tags Present in the Web Page with Spring Boot and Jsoup

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

What you’ll build Home page Link Preview API for fetching link preview info by URL What you'll need Spring Tool Suite 4JDK 11 Tech Stack Spring Boot 2.2JSP and Bootstrap…

Continue ReadingHow to Generate Rich Link Preview for Website Link / URL based on the Meta Tags Present in the Web Page with Spring Boot and Jsoup

Calling Stored Procedure and mapping the query result to non-entity POJO using Spring JPA SqlResultSetMapping

Recently, I gotta chance to work with a microservice in which I had to call a Stored Procedure and map the results to a POJO. By default the StoredProcedureQuery returns…

Continue ReadingCalling Stored Procedure and mapping the query result to non-entity POJO using Spring JPA SqlResultSetMapping