Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Spring Security Zero to Master along with JWT,OAUTH2
Bestseller
Role Play
Rating: 4.6 out of 5(10,920 ratings)
71,206 students

Spring Security Zero to Master along with JWT,OAUTH2

Spring Security , SpringBoot Security, CORs,CSRF,JWT, OAUTH2, OpenID Connect, KeyCloak, Spring Authorization Server
Last updated 1/2026
English

What you'll learn

  • Spring Security framework details and it features.
  • How to adapt security for a Java web application using Spring Security
  • What is CSRF, CORS, JWT, OAUTH2
  • Applying authorization rules using roles, authorities inside a web application using Spring Security
  • Method level security in web/non-web applications

Course content

17 sections161 lectures24h 37m total length
  • Course Introduction8:23

    Welcome to this course ! Let me explain what is the agenda of this course

  • Details of Source Code, PDF Content & other instructions for the course1:01
  • IntelliJ IDEA Ultimate0:59
  • Creating a simple Spring Boot app with out security - Part 19:49
  • Creating a simple Spring Boot app with out security - Part 29:11
  • Securing Spring Boot basic app using Spring Security & static credentials15:04

    Add the spring security starter, then configure static credentials in application properties to secure a spring boot web app; define spring.security.user.name and spring.security.user.password for login.

  • Funny memes on Security5:42
  • What is Security & Why it is important12:36

    In this video, we will discuss on what is security and why it is important for any web application

  • Quick introduction to Servlets & Filters6:33
  • Introduction to Spring Security Internal flow - Theory16:00

    This video will explain how Spring Security process a income request internally every time and the architecture associated to it

  • Demo of Spring Security internal flow - Part 19:35
  • Demo of Spring Security internal flow - Part 215:00
  • Sequence flow of the Spring Security default behaviour4:25
  • Understanding on how multiple requests work with out credentials5:06

    In this video, we will see how spring security framework works in the case of multiple requests after authentication where it will not ask for credentials again and again.

  • "Getting started with Spring Security" quiz

Requirements

  • Java
  • Basics of Spring framework

Description

'Spring Security Zero to Master' course will help in understanding the Spring Security Architecture, important packages, interfaces, classes inside it which handles authentication and authorization requests in the web applications. It also covers most common security related topics like CORs, CSRF, JWT, OAUTH2, password management, method level security, user, roles & authorities management inside web applications.

Below are the important topics that this course covers,

  1. Spring Security framework details and it features

  2. How to adapt security for a Java web application using Spring Security

  3. Password Management in Spring Security with PasswordEncoders

  4. Deep dive about encoding, encryption and hashing

  5. What is CSRF, CORS and how to address them

  6. What is Authentication and Authorization. How they are different from each other.

  7. Filters in Spring Security and how to write own custom filters

  8. Deep dive about JWT (JSON Web Tokens) and the role of them inside Authentication & Authorization

  9. Deep dive about OAUTH2 and various grant type flows inside OAUTH2.

  10. Deep dive about OpenID Connect & how it is related to OAUTH2

  11. Applying authorization rules using roles, authorities inside a web application using Spring Security

  12. Method level security in web/non-web applications

  13. Social Login integrations into web applications

  14. Set up of Authorization Server using KeyCloak, Spring Authorization Server


The pre-requisite for the course is basic knowledge of Java, Spring, SpringBoot and interest to learn.

Who this course is for:

  • Beginner students who are learning Spring framework and interested in security as well
  • Developers who already know developing web applications using Spring framework
  • Java Architects