Spring Boot Security HTTP Basic Authentication with In-Memory Users

Published: 12 April 2020
on channel: Reborn Developer
19,933
194

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


On this page of the site you can watch the video online Spring Boot Security HTTP Basic Authentication with In-Memory Users with a duration of hours minute second in good quality, which was uploaded by the user Reborn Developer 12 April 2020, share the link with friends and acquaintances, this video has already been watched 19,933 times on youtube and it was liked by 194 viewers. Enjoy your viewing!