Customizing login experience in Spring MVC web apps

Опубликовано: 11 Март 2026
на канале: kanezi
5,301
220

Part 4 of multipart series where simple java spring mvc web app is secured by spring security framework. Authentication is also enabled by google and github social login oath2/oidc providers and users saved to relational database.
App is deployed to various cloud providers.

In part 4, we'll replace Spring security default login form with our custom login form and customize user's login and logout experience

Railway.app:
https://tinyurl.com/railway-kanezi

Github repo:
https://github.com/kanezi/spring-soci...

00:00 - intro
00:18 - goals of this session
01:05 - prerequisite
01:44 - current application state
02:30 - public home page
03:16 - request caching
03:48 - app skeleton
08:46 - home page
11:44 - resources filter chain
15:56 - main menu
20:25 - user controller
21:41 - user page
23:04 - accessing authenticated user
28:30 - login page
34:16 - logout
38:41 - login & logout redirections
42:47 - testing controllers
44:47 - test configuration
48:19 - testing oauth2 and oidc
53:11 - outro