A quick and practical guide to securing Spring Boot APIs with API keys and secrets.
Also find me here:
Hamid Reza Sharifi
I’m an experienced Software Engineer with a demonstrated history of working in the computer software industry. I received my Ph.D. degree in Computer Software Engineering from Islamic Azad University, Science And Research Branch in 2018. Over the past few years, I have been working mainly on projects built around Java, Spring Boot, Agile Methodologies, REST API, Microservice, and Keycloak IAM. Also, I’m very interested in learning new technologies and the latest practices in the industry.
Here's what I've written (so far):
Baeldung on Java
- Spring Boot (4)
- Security (3)
- Spring Security (2)
- Architecture (2)
- Testing (1)
- Spring Data (1)
- Spring Cloud (1)
- Spring (1)
- Programming (1)
- Logging (1)
Introduction to Spring Modulith
Filed under Architecture, Spring Boot
A quick and practical guide to Spring Modulith.
Custom Protocol Mapper with Keycloak
Filed under Security
A quick and practical guide to using custom protocol mappers with Keycloak.
Spring Boot Logback and Log4j2 Extensions
Filed under Logging, Spring Boot
A quick and practical guide to Spring Boot and its logging extensions.
Running Spring Boot Applications with the Embedded Camunda Engine
Filed under Spring Boot
Learn how to leverage the embedded Camunda engine into the Spring Boot application.
Get Information About a PDF in Java
Filed under Programming
Learn different ways of getting information about a PDF file using the iText and PDFBox libraries in Java.
Multitenancy With Spring Data JPA
Filed under Architecture, Spring Data
Building a multi-tenant system in Spring requires keeping data from one tenancy apart from another. We look how to separate requests into different databases by tenant, and how to validate that the requests belong to the correct tenancy.
Get Keycloak User ID in Spring
Filed under Spring Security
Learn to get the Keycloak user ID in a Spring Boot application.
Single Sign On Solutions for Java Applications
Filed under Security
Learn about some common single sign-on solutions for Java applications.
Provide an OAuth2 Token to a Feign Client
Filed under Security, Spring Cloud
Learn to provide an OAuth2 token to a feign client.
Failed to Load ApplicationContext for JUnit Test of Spring Controller
Learn about the “Failed to Load ApplicationContext” error message when running Junit tests with the Spring Controller, and how to fix it.