~/talk

Architecture Deep Dive in Spring Security

Talkat Spring I/O 2017 · 2017-05-18..05-19· [security]
slides:none on file

Shows how Spring Security actually authenticates, authorizes and handles exceptions by wiring a real demo: an Angular public site using HTTP Basic for public, form login for admin talking to a Spring Boot backend, three sample users and observable 401/403 responses. Traces filters and classes: authentication filter → AuthenticationManager → DaoAuthenticationProvider → UserDetailsService, SecurityContext stored and restored (SecurityContext stored in HttpSession), FilterSecurityInterceptor → AccessDecisionManager with role voter, ExceptionTranslationFilter delegating to AuthenticationEntryPoint or AccessDeniedHandler. Warns that multiple chains must be ordered (@Order) to avoid one being skipped (Filter ordering via @Order causes chain to be skipped). Also notes Spring Security 5 milestones for reactive and OAuth.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 3:07Authentication demo
  3. 8:21Authentication mechanics
  4. 23:27Authorization and filtering
  5. 32:34Exception handling flow
  6. 43:35Security configuration overview
~/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.