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
In questa pagina del sito puoi guardare il video online Spring Boot Security HTTP Basic Authentication with In-Memory Users della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Java 12 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 19,840 volte e gli è piaciuto 193 spettatori. Buona visione!