How to Configure Spring Security with Multiple Authentication Providers

  • Post author:
  • Post category:Spring Boot
  • Post comments:2 Comments
  • Post last modified:September 22, 2021

In our previous articles, we have implemented Basic Authentication, JWT Authentication, LDAP authentication with BASIC_AUTH, JWT_AUTH and LDAP_AUTH profiles respectively. Also, we have seen how to disable Spring Security with NO_AUTH profile. However, sometimes our application might need to…

Continue ReadingHow to Configure Spring Security with Multiple Authentication Providers

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