Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Spring Security - Full Course

Amigoscode via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course teaches how to secure Java and Spring Boot applications with Spring Security. It covers form and basic authentication, roles and permissions, CSRF, database-backed users, and JWT authentication for stateless sessions; basic Java and Spring Boot knowledge is expected.

Syllabus

INTRO.
QUICK WORD BEFORE WE BEGIN.
BOOTSTRAPPING.
RUNNING APP WITH INTELLIJ.
- LETS BUILD AN API.
- INSTALLING SPRING SECURITY.
- FORM BASED AUTHENTICATION OVERVIEW.
- BASIC AUTH OVERVIEW.
- BASIC AUTH.
- POSTMAN.
- ANT MATCHERS.
- APPLICATION USERS.
- IN MEMORY USER DETAILS MANAGER.
- PASSWORD ENCODING WITH BCRYPT.
- ROLES AND PERMISSIONS.
- ADMIN USER.
- ROLES & PERMISSIONS USING ENUMS.
- ROLE BASED AUTHENTICATION.
- PERMISSION BASED AUTHENTICATION.
- DISABLING CSRF.
- hasAuthority().
- ADDING AUTHORITIES TO USERS.
- PERMISSION BASED AUTHENTICATION IN ACTION.
- ORDER DOES MATTER.
- preAuthorize().
- UNDERSTANDING CSRF.
- CSRF TOKEN.
- HOW CSRF TOKEN GENERATION WORKS.
- LETS DISABLE CSRF AGAIN.
- FORM BASED AUTHENTICATION.
- ENABLE FORM BASED AUTHENTICATION.
- SESSION ID.
- CUSTOM LOGIN PAGE.
- REDIRECT AFTER SUCCESS LOGIN.
- REMEMBER ME.
- REMEMBER ME COOKIE AND EXTRA OPTIONS.
- LOGOUT .
- LOGOUT BUTTON.
- PASSWORD, USERNAME, REMEMBER-ME PARAMETERS.
- DB AUTHENTICATION OVERVIEW.
- APPLICATION USER CLASS.
- APPLICATION USER SERVICE.
- APPLICATION USER CLASS.
- APPLICATION USER DAO INTERFACE.
- FAKE APPLICATION USER SERVICE.
- DAO AUTHENTICATION PROVIDER.
- HELLO.
- INTRO TO JSON WEB TOKEN (JWT).
- JWT LIBRARY.
- JwtUsernameAndPasswordAuthenticationFilter - attemptAuthentication().
- JwtUsernameAndPasswordAuthenticationFilter - successfulAuthentication.
- REQUEST FILTERS.
- FILTERS AND STATELESS SESSIONS .
- JWT USERNAME AND PASSWORD FILTER.
- JWT TOKEN VERIFIER FILTER.
- JWT TOKEN VERIFIER FILTER IN ACTION.
- JWT CONFIG.
- JWT CONFIG IN ACTION.
- QUICK WORD ABOUT JWT.

Taught by

Amigoscode

Reviews

4.7 rating, based on 3 Class Central reviews

Start your review of Spring Security - Full Course

  • Profile image for Prateek Kk
    Prateek Kk
    Good, its interesting and great and cover all the things of spring security as i saw. Must checkout the video and you will be confident in spring secuirity once u checkout all the videos.
  • Very helpful course if you are new to Spring Security. You will learn different ways of securing your Spring Boot App using Basic Auth, Form Based Auth, and JWT.

    The only thing missing is connecting it all to a real database. But once you finish the course, that shouldn't be too difficult.
  • Profile image for Abdelmajid Taybi
    Abdelmajid Taybi
    Spring Security is an exceptionally powerful yet famously complex framework to master. Navigating filter chains, roles, permissions, and stateless JWT architecture can often feel overwhelming. A huge shoutout to Amigoscode for simplifying these concepts with practical, real-world examples that make enterprise application security crystal clear.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.