Spring Boot Security HTTP Basic Authentication with In-Memory Users

Publié le: 12 avril 2020
sur la chaîne: Code Java
19,840
193

Learn to use Spring Security to secure webpages in a Spring Boot application using HTTP Basic authentication method with in-memory users. Plus learn to implement role-based authorization (user vs admin).

What you will learn in this Spring Boot security video:
Understand why using HTTP Basic authentication and in-memory credentials
Understand the key characteristics of HTTP Basic authentication
Declare Spring Security dependency for the project
Create in-memory user details with BCrypt password encoder
Configure HTTP Basic authentication for Spring Boot application
Test login and logout
Implement role-based authorization using Spring Security APIs and Thymeleaf integration with Spring Security.

Software Programs used:
Java Development Kit (JDK)
Spring Tool Suite IDE

Technologies used:
Spring framework
Spring Security APIs
Spring Boot
Thymeleaf template engine
Maven build
Spring Boot DevTools

You can copy the code snippets and download sample project in this article: https://www.codejava.net/frameworks/s...

#springsecurity #springboot #authentication #springmvc #springframework #javaprogramming


Sur cette page du site, vous pouvez voir la vidéo en ligne Spring Boot Security HTTP Basic Authentication with In-Memory Users durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code Java 12 avril 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 19,840 fois et il a aimé 193 téléspectateurs. Bon visionnage!