~/talk

Session Is Dead - Long Live JWT

Talkat Java Day Minsk 2017 · on Saturday, 2017-06-03· [security]
links:none on file
slides:none on file

Explains JWT as a compact JSON claims format used instead of server sessions, shows how to build signed tokens (header.payload.signature), and demos common choices: symmetric signing (most common) or asymmetric keys, and libraries like jjwt and listings on jwt.io plus a Spring Security + JWT example on GitHub. Quantifies tradeoffs: smallest JWT ~75 bytes vs session ID ~45 bytes, issues with XSS and token revocation, and practical mitigations: short-lived access tokens, refresh tokens, or rotating signing keys.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Sessions vs JWT basics
  3. 7:17What are JWTs
  4. 14:25JWT structure and claims
  5. 19:02Pros of JWT over sessions
  6. 25:48Cons of JWTs
  7. 33:37Token revocation solutions
  8. 35:06Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.