Learn how the HTTP Basic Authentication works and how to extract credentials from a HTTP request in a Spring-based application.
Also find me here:
Baeldung Author
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
- All
- Security (10)
- Spring Boot (8)
- Spring Security (5)
- Testing (2)
- Spring (2)
- REST (2)
- Logging (2)
- Java IO (2)
- Architecture (2)
- Spring Web (1)
- Spring MVC (1)
- Spring Data (1)
- Spring Cloud (1)
- Spring AI (1)
- Persistence (1)
- Java (1)
- JVM (1)
- Docker (1)
- Data (1)
- Core Java (1)
Configure Spring Boot to Redirect 404 to a Single Page Application
Filed under Spring MVC
Learn how to configure Spring Boot so that all unknown routes are redirected to the SPA’s index.html
A Guide to Token Exchange in Spring Security
Filed under Spring Security
Discover what a token exchange is and how to configure it in a Spring Boot application.
Find List of Matched Rules in Drools
Filed under Data
Learn different ways to track fired rules in Drools.
Key Encapsulation Mechanism API in Java
Filed under Security
Learn about the Key Encapsulation Mechanism (KEM) API introduced in JDK 21.
Persist Quartz Scheduler in Database
Filed under Persistence
Learn how Quartz handles persistence with its JDBC JobStore and how to achieve it with a custom approach.
Restart a Job on Failure and Continue in Spring Batch
Filed under Spring Boot
Learn how to configure and restart a failed Spring Batch job effectively.
Spring AI With Docker Model Runner
Learn how to set up Docker Model Runner for a Spring AI application.
Rapid Spring Boot Prototyping with Bootify
Filed under Spring Boot
Explore the Bootify application generator.
Baeldung on Linux
- All
- Security (1)
- Processes (1)
- Networking (1)
- Network Monitoring (1)
- File Permissions (1)
Listing All DNS Records in a Domain Using dig
Filed under Network Monitoring
A quick and practical guide to using dig for listing all DNS records in a domain.
Configuring DNS in the resolv.conf File
Filed under Networking
Learn multiple ways to configure DNS in Linux.
Change Permissions for a Folder and All Its Content in Linux
Filed under File Permissions
Learn to change permissions for a folder and all its content in Linux.
Get Process ID of Linux Foreground and Background Processes
Filed under Processes
Learn to find the process ID of Linux foreground and background processes.
HTTPS Connection Using Curl
Filed under Security
Learn to make an HTTPS connection using curl.