Spring Security - Secure REST APIs with HTTP Basic and In-memory Users

Опубликовано: 01 Апрель 2024
на канале: Code Java
358
19

In this video, I'd love to share with you guys how to secure REST APIs with HTTP Basic authentication and users in memory, so after watching this video you can apply the code examples to protect your APIs using HTTP Basic in Java Spring project that uses Spring Boot and Spring Security.

In detailed, here's what you will learn:
- Understand HTTP Basic authentication
- Use Spring Security to secure an existing REST API with HTTP Basic authentication, and the credentials are stored in memory with plain-text passwords
- Test HTTP Basic authentication with: web browser, curl, Postman and write automated unit tests with Spring Security Test