~/talk

Spring Security for N00bz: A quick introduction for the terminally insecure

Talkat Spring I/O 2019 · 2019-05-16..05-17· [security, developer-experience]
slides:none on file

Live code shows Spring Security 5 defaults (HTTP firewall, security filter chain, safe headers) and builds a working example: form-based auth with in-memory users (two accounts, roles user/admin), adds a delegating password encoder (bcrypt default) so login works, and returns 403 for unauthorized access. Then it wires OpenID Connect + OAuth2 with Okta and Google, uses WebClient to call a local resource server and successfully reads JWT claims (scopes: openid profile email phone); 2FA via YubiKey works.

AI-written summary · about

  1. 0:00Introduction
  2. 2:57Who am I
  3. 5:37Outside and Security
  4. 8:13System Security
  5. 11:41Spring Security
  6. 16:06Request Filtering
  7. 16:40Lets Code
  8. 16:59Dress Appropriately
  9. 17:21Lets Get Started
  10. 19:25My Favorite IDE
  11. 20:23Form Controller
  12. 21:36Terminal
  13. 21:59Spring Security Configuration
  14. 29:15Login Page
  15. 29:37Password Encoder
  16. 31:57Authorization
  17. 35:24OAuth
  18. 39:33Generating a new project
  19. 40:50Adding dependencies
  20. 41:30Configuration
  21. 42:30Endpoint Rest Controller
  22. 43:25Login with Google
  23. 44:55Resource Servers
  24. 45:35OAuth2 Resource Server
  25. 46:20Resource Controller
  26. 46:55JSON Web Token
  27. 48:55Creating a Filter
  28. 51:55Creating Endpoints
  29. 53:25Customer Customization
  30. 54:55Demo
~/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.