How to Configure Spring Security with Multiple Authentication Providers

  • Post author:
  • Post category:Spring Boot
  • Post comments:0 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 5 JWT Authentication, Role-based Authorization and MySQL Database in 9 Steps

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…

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 REST Services with Spring Security 5 and JWT Authentication without using Spring Boot

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

In the previous article we have implemented Spring REST API without using Spring Boot. Now we are gonna secure the REST API with Spring Security and JSON Web Token (JWT) without…

Continue ReadingHow to Secure Spring REST Services with Spring Security 5 and JWT Authentication without using Spring Boot