~/talk

Authorization with Spring Security: Permissions, Roles and More

TalkinFrenchat Devoxx France 2026 · 2026-04-22..04-24· [security]
slides:none on file

Covers how to implement authorization in Spring Boot using Spring Security, focusing on permissions and roles beyond simple .hasRole checks. Explains extracting and storing user info at login, placing policy-decision and enforcement points in request handling, and concrete coding patterns (with live-coding examples) to apply different access-control mechanisms and their trade-offs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27Session overview
  3. 4:18Quick demo: Spring Boot + Security
  4. 15:23Roles and permissions basics
  5. 28:37Auth and Security Context
  6. 33:31HTTP request authorization
  7. 56:35Break
  8. 1:08:22Method auth with @PreAuthorize
  9. 1:33:31Object-level auth with @AuthorizeReturnObject
  10. 1:50:54MFA in Spring Security
  11. 2:08:21Multiple Security Filter Chains
  12. 2:12:19Security testing
  13. 2:21:03Advanced auth models: RBAC, ABAC, ReBAC
  14. 2:34:10Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.