How to Secure Spring REST API with OAuth2 JWT Authentication

  • Post author:
  • Post category:Spring Boot
  • Post comments:2 Comments
  • Post last modified:February 12, 2023

In the previous article, we implemented JWT authentication using custom spring security. However, it is not recommended to customize spring security, especially in enterprise-level applications. Because one defect in custom…

Continue ReadingHow to Secure Spring REST API with OAuth2 JWT Authentication

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 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