Back to Browse

Spring Boot Security Form Authentication with JDBC and MySQL

17.1K views
Apr 15, 2020
43:43

Learn to secure a Spring Boot application with form-based authentication and users stored in MySQL database, plus basic role-based authorization. And how to use Spring Security APIs with JDBC and Thymeleaf. In other words, you will learn to add login and logout functions for a Java web application based on Spring framework. Here are steps to secure webpages with Spring Security and MySQL database: - Create users table in MySQL Workbench - Declare dependencies for Spring Security & MySQL JDBC - Configure JDBC authentication details - Test Login & Logout - Bonus: Basic Role-based Authorization Software Programs used in this Spring Security tutorial: - Java Development Kit (JDK) - Spring Tool Suite IDE - MySQL database server & tools (Workbench) Technologies used: - Spring framework - Spring Security - Spring Boot - Thymeleaf - Maven - Spring Boot DevTools - MySQL JDBC Driver Text-based version: https://www.codejava.net/frameworks/spring-boot/form-authentication-with-jdbc-and-mysql #springsecurity #springboot #jdbc #springmvc #springframework #javaprogramming

Download

0 formats

No download links available.

Spring Boot Security Form Authentication with JDBC and MySQL | NatokHD