Getting started with Java EE Security API
summary
Overview of JSR-375 with concrete demos: a set of five demos builds working examples using Servlets, JSF and JAX‑RS showing basic auth, a custom login form, and a JWT‑style token with expiration. Shows how to wire LDAP and database identity stores, combine multiple stores with a handler, and validate credentials. Includes a live Google OAuth2 integration, uses the reference implementation and minimal config so the examples actually run, not just theory.
AI-written summary · about
chapters (17)
- 0:00Introduction to Java EE Security
- 1:05What’s missing in Java EE security
- 3:59Java EE Security API overview
- 6:27Identity store and authentication
- 11:04Credentials and identity store
- 15:20Authorization and permissions
- 15:40Demo: Basic authentication
- 21:24Demo: Identity store setup
- 26:46Custom login page and LDAP
- 30:33Demo: LDAP integration
- 32:53Token-based authentication
- 36:56Custom identity store handler
- 41:15JWT tokens explained
- 44:50Token validation and security context
- 48:11Demo: JWT tokens in action
- 50:45OAuth and social login
- 52:38Q&A and closing remarks
