In this video, I'll show you how to write Java code to secure REST APIs with HTTP Basic authentication using Spring Security. Note that the users are stored in relational database (MySQL).
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
- Users stored in MySQL database with passwords encoded using BCrypt
Test HTTP Basic authentication with: web browser, curl, Postman, and code automated tests with Spring Security Test.
Technologies: Java & Spring framework, Spring Web, Spring Security, Spring Data JPA & Hibernate framework.
Software programs: Java Development Kit (JDK), Spring Tool Suite IDE (STS), MySQL Community Server & MySQL Workbench, curl & Postman.
Sur cette page du site, vous pouvez voir la vidéo en ligne Spring Security - Secure REST API with HTTP Basic and Database Users durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code Java 02 avril 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 694 fois et il a aimé 29 téléspectateurs. Bon visionnage!