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
Auf dieser Seite können Sie das Online-Video Spring Boot Security HTTP Basic Authentication with In-Memory Users mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code Java 12 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 19,840 Mal angesehen und es wurde von 193 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!