Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Professional Web Authentication System Password Validation
Rating: 4.0 out of 5(21 ratings)
174 students

Professional Web Authentication System Password Validation

Full Stack: Java 17 LTS, Spring modules(Boot 3, Security 6, web, Data JPA, Hibernate) MySQL, Passay, JWT and Angular
Created byAsaad Nayyef
Last updated 2/2023
English

What you'll learn

  • Learn in-depth Spring Security version 6.0.3 with Spring Boot Version 3.0.2
  • Spring Security Authentication and authorization (Authenticate Web Application Users and Authorize User Actions)
  • Knowledge and skills required for Spring Security software developer
  • Password Policy Validator (Password Management)
  • User Authority
  • Admin Security Configuration
  • Email verification
  • Password Reset
  • Encrypt the passwords stored in the database
  • Add a layer of authentication to the Java Web Application
  • Add and manage the user roles accounts
  • Design, develop and implement advanced Spring Security layers
  • Create first spring Boot project
  • Package Model with Database Configuration
  • Data Lombok
  • Introduction to Hypertext Transfer Protocol (HTTP)
  • Create HTTP Response Protocol class
  • Create User Granted Authority class
  • Add Spring Security
  • Add @RestController, @RequestMapping, and @GetMapping
  • JSON Web Token (JWT)
  • Overview of JSON Web Token (JWT)
  • Create JWT Token
  • JWT Filter
  • JWT Authentication
  • JWT Access Denied
  • Methods of Repository and Implementation
  • Create Repository methods
  • Create User Service Implementation methods
  • Security Configuration
  • Create Security Configuration Part 1
  • Configuration with Authentication Manager Builder
  • Configuration with Authentication Manager Builder
  • Introduction to CSRF and CORS
  • Configuration with HTTP Security
  • Test HTTP inbound and endpoint Security
  • Exceptions
  • User, Email, and Password Valid Exceptions
  • Exception Processing
  • Test all Exceptions
  • User Registration
  • Create User Service methods
  • User Permission and Authentication
  • Create user register method
  • Create a valid Username and Email method to register
  • Create a method to find By username, email, and all
  • Password validation
  • Create Post Mapping("/register")
  • Create Post Mapping("/Login")
  • User Login
  • Permission for Login Attempts
  • Login Attempts Failure
  • Login Attempts Success
  • Add User Login Attempt Validation to Implementation Class
  • Test Login Attempts
  • Email Service
  • Add new User Service Implementation
  • Create Email Session
  • Create Email
  • Sending user Password by email
  • The Real test for send email and password validation
  • User Service Implementation
  • Add update User Service Implementation
  • User Controller
  • Add a new User to the controller
  • Add update User to the controller
  • Add find a user to the controller
  • Add a list of all users to the controller
  • How to add any Microservices to the Project
  • Add Delete Microservices
  • Add Reset Password Microservices

Course content

11 sections • 49 lectures • 7h 30m total length
  • System Authentication Overview16:00

    Examine authentication with password validation rules, eight chars, at least one digit and one special character, no spaces, and no common sequences, plus admin-led user management and email-delivered encrypted credentials.

  • Environments work Setup3:16

    Set up development environments for a professional web authentication project by installing Windows, Macintosh, and Linux tools, the Java Development Kit, Angular, npm, Visual Studio, and Oracle database.

  • Create first spring Boot project7:06

    Create your first Spring Boot project with password validation, using Java 15 and Spring Boot 2.4.1, add Lombok and database support, and integrate an Angular front end.

  • Package Model with Database Configuration8:05

    Create the user account table in the database schema, define the table class with fields like user id, user name, email, password, authorities, and rules, and implement constructors.

  • Data Lombok4:09

    Create a user table with fields like user id, first name, last name, username, email, password, and role, and auto-generate getters and setters using data Lombok.

  • Introduction to Hypertext Transfer Protocol (HTTP)3:33

    Understand how the hypertext transfer protocol enables clients to send requests to servers and receive responses over tcp/ip, using urls, hosts, and status codes like 200 and 404.

  • Create HTTP Response Protocol class4:20

    Create an http response protocol class with a response field, time format with timezone, and constructors, supporting common status codes like 200, 400, 404, 500, 502, 504, and 505.

  • Create User Granted Authority class17:49

    Create a user granted authority class and implement the user details integration to manage authorities in a secure web registration with password validation.

  • Add Spring Security4:35

    Add Spring Security to the project to enable authentication and access control, install startup security dependencies, run the app, and test login with a username and password.

  • Add @RestController, @RequestMapping and @GetMapping18:18

    Set up a RestController and map requests with @RequestMapping and @GetMapping to manage a user endpoint, display text in the browser, and test paths like /user and /user/home on localhost.

Requirements

  • Familiar with the Java programming language
  • Understand the basic principles of Web Applications
  • Knowledgeable with the Spring Security
  • Any IDE of your choice

Description

In this course will learn how to create the first web page interactive with the user as a professional web Authentication System and add all rules of password validator to your professional website.

An easy way you can add it to your website and display your website as a professional website and high coding professionalism.

This course is for how need to create a professional web Authentication System form with password validation and apply complex password rules when the user registration the first time on the website by using Java,  Spring Boot, Spring Security, and Passay password validator, as back-End and Angular as Front-End.

In this course will learn how to create the first web page interactive with the user as a professional web Authentication System and add all rules of password validator to your professional website.

An easy way you can add it to your website and display your website as a professional website and high coding professionalism.

COURSE MODULES

REVIEW OF SPRING ESSENTIALS

Why Spring

Configuration using Spring

Bean creation

Data Management

SPRING BOOT INTRODUCTION

Introduction to Spring Boot

Value Proposition of Spring Boot

Creating a simple Boot application using Spring Initializr web-site

JPA WITH SPRING AND SPRING DATA

A quick introduction to ORM with JPA

Benefits of using Spring with JPA

JPA configuration in Spring

Configuring Spring JPA using Spring Boot

Spring Data JPA dynamic repositories

SPRING MVC ARCHITECTURE AND OVERVIEW

Introduction to Spring MVC and request processing

Controller method signatures

Using @RestController and @GetMapping annotations

Configuring Spring MVC with Spring Boot

An introduction to the REST architectural style

Controlling HTTP response with @ResponseStatus

Implementing REST with Spring MVC, @RequestMapping, @RequestBody and @ResponseBody

Spring MVC’s HttpMessageConverters

SPRING SECURITY

What problems does Spring Security solve?

Configuring authentication

Implementing authorization by intercepting URLs

Authorization using OAuth

Authorization at the Java method-level

Understanding the Spring Security filter chain


Who this course is for:

  • Spring Security web Application Developers
  • Programmers and anyone interested in Spring Security