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

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