~/talk

Test Driven Application Security

Talkat Jfokus 2025 · 2025-02-03..02-05· [security, testing]
links:none on file
links:none on file
slides:none on file

Demonstration uses Java 21 with Spring and Spring Security and automated tests in JUnit 5 with AssertJ to turn common OWASP Top 10 failures into reproducible checks. System tests assert TLS 1.3, security headers and token audience and scope validation; unit tests add domain primitives, a permission service, DTO mapping to avoid data leakage, and early-abort authorization in the service layer. Several initially green happy-path tests hide missing negative cases; fixing five failing tests eliminates idor and leaking internal fields.

AI-written summary · about

  1. 0:00Test driven app security intro
  2. 1:06Why penetration tests keep finding the same vulnerabilities
  3. 4:15Security as nonfunctional req
  4. 8:10Secure API with six defenses
  5. 11:42System tests for auth and authz
  6. 14:39Health endpoints and error handling
  7. 17:51TLS and security headers tests
  8. 19:58Controller auth and data unit tests
  9. 23:15Permission transformation tests
  10. 27:17Domain auth and validation tests
  11. 27:59Input validation with primitives
  12. 31:53Fine-grained access control refactor
  13. 35:28Fixing failing security tests
  14. 38:58Defense in depth with annotations
  15. 39:19Summary and key takeaways
  16. 40:00Why security tests matter
  17. 41:26Resources and closing
~/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.