_ SPRING BOOT & SPRING SECURITY

Learn Spring Security Core|

The definitive guide to secure your Java application

Spring Security has been the standard in most Java implementations for years, of course. And with the launch of 6.0, it’s been continuously evolving.

That meant full Java configuration with lambdas, native Boot integration, complex authorization support, reactive security implementation, and support for pretty much any security mechanism you need.

Authentication icon
Authentication
Registration icon
Registration
Security Expressions icon
Security Expressions
Spring Security illustration
>_

Course Outline

~ 25.5 HOURS
01
Module 1 icon

Secure a Simple Spring MVC Application

7 LESSONS • ~ 3 HOURS
1.Intro to Spring Security
2.A Basic Security Java Config
3.URL Authorization
4.Building a Login Form
5.Implementing Logout
6.Anonymous Authentication
7.Overview of Spring Security Objects
02
Module 2 icon

A Full Registration Flow

6 LESSONS • ~ 2.5 HOURS
1.A Simple Registration Flow
2.Authentication Using Real Users
3.Activate a New Account via Email
4.Deal with "I Forgot My Password"
5.Doing Security Questions Right
6.Ensure Password Strength During Registration
03
Module 3 icon

Remember Me

3 LESSONS • ~ 1 HOUR
1.A Simple Remember Me Flow
2.Remember Me with Cookie
3.Remember Me with Persistence
04
Module 4 icon

Spring Security on the Client

4 LESSONS • ~ 1.5 HOURS
1.Spring Security with JSP
2.The Authentication Tag and Displaying the Current User
3.Spring Security with Thymeleaf
4.The Authorize Tag
05
Module 5 icon

Spring Security Expressions

4 LESSONS • ~ 1.5 HOURS
1.URL Authorization with Expressions
2.Method Authorization with Expressions
3.In-page URL Authorization with Expressions
4.Programmatic Expressions and a Custom PermissionEvaluator
06
Module 6 icon

Password Storage

5 LESSONS • ~ 2 HOURS
1.Introduction to Storing Passwords
2.Hashing Passwords (MD5 and SHA-256)
3.Why Hashing Isn't Enough – Using Salts
4.Key Stretching
5.The bcrypt Solution
07
Module 7 icon

Spring Security Advanced Configuration

4 LESSONS • ~ 2 HOURS
1.Breaking Down the Authentication Flow
2.Run As a Different User
3.The Security Context
4.Configure the Filter Chain
08
Module 8 icon

Advanced Authentication

5 LESSONS • ~ 2.5 HOURS
1.A Custom Authentication Provider
2.Multiple Providers and the Authentication Manager
3.In-Memory, JDBC and Hibernate/JPA User Storage
4.Tracking Logged-in Users
5.Setting Up Users at Startup
09
Module 9 icon

Advanced Authorization

4 LESSONS • ~ 2.5 HOURS
1.How Authorization Works
2.The Topology of Roles and Privileges
3.Secure Method Invocations with AOP
4.Defining Custom Access-Control Logic
10
Module 10 icon

Basic REST API Security

3 LESSONS • ~ 1 HOUR
1.The Basics of API Security
2.Basic Authentication for the API
3.Certificates and HTTPS for Tomcat
11
Module 11 icon

ACL with Spring Security

3 LESSONS • ~ 2 HOURS
1.Introduction to ACL and Domain Object Security
2.The Data Structure of ACL
3.ACL with Spring Security
12
Module 12 icon

Two-Factor Authentication

2 LESSONS • ~ 1 HOUR
1.A Simple Two-Factor Implementation with a Soft Token
2.A Two-Factor Implementation with SMS
13
Module 13 icon

Advanced Spring Security Scenarios

4 LESSONS • ~ 2 HOURS
1.Spring Security for a Non-Spring Application
2.Multi-Tenancy with Spring Security
3.Session Management with spring-session
4.Spring Security with LDAP
14
Module 14 icon

Reactive Security

3 LESSONS • ~ 1 HOUR
1.A Basic Reactive Security Example
2.Reactive Method Security
3.WebFlux Form Login
Baeldung All Access Crown Icon

Access this course through Baeldung All Access

Our Full Course Library icon Our Full Course Library
IntelliJ Idea Ultimate (6 months free) icon IntelliJ Idea Ultimate (6 months free)
JProfiler (6 months free) icon JProfiler (6 months free)
Roadmap icon All Upcoming Courses (Roadmap)
Certificates of Completion icon Certificates of Completion
Multiple-Choice questions icon Multiple-Choice questions in Each Lesson
Pro Access icon Pro Access
Explore All Access Yearly or the Lifetime access

Do you have a team who would benefit from taking the course?

Here are our team licenses →
100% Money Back Guarantee Badge

20-Day Money Back Guarantee

I believe strongly in the quality of the course material to teach you the fundamentals of the library. I've put a lot of work and care into the material and hope you're going to use it and to develop and maintain your applications.

I confidently back all courses with a 20-Day Money Back Guarantee. I want you to dive in deep and experience the full wealth of this resource without hesitation.

If the material isn't a good fit, just contact me within 20 days of purchase and ask for a full refund for any single course package.