Theory and Lab Learning Model¶
Java 21 and Spring Boot are the canonical implementation stack. Theory and hands-on work are separate artifacts so learners can study concepts without searching through exercise instructions.
Theory pages¶
Theory lives under docs/theory/ or the relevant Security reference section. A theory page contains:
- Protocol or security objective
- Assets, actors, and trust boundaries
- Guarantees and non-guarantees
- Concrete Spring Security API mapping
- Failure modes and attack patterns
- Brief cross-framework transfer notes
- Link to the corresponding lab
Theory pages contain no setup walkthrough and never claim runnable evidence.
Lab guides¶
Labs live under docs/tutorials/. A lab guide contains:
- Status and theory prerequisite
- Measurable objective
- Source artifact map
- Step-by-step exercises
- Positive and negative tests
- Verification commands
- Completion evidence
- Production extension and next lab
Source code and executable tests—not snippets—are canonical.
Assessments¶
Senior assessments live under docs/quizzes/. Questions test ambiguous production scenarios, Spring internals, protocol boundaries, attacks, and failure policy. Explanations must state why distractors are unsafe or incomplete.
Status gates¶
- Planned: scope exists but no complete theory or code.
- Theory: conceptual page exists, but no runnable Spring implementation.
- Implemented: production code runs through the intended Spring boundary.
- Verified: positive and negative automated tests pass.
- Operational: deployment, rotation, observability, outage, and recovery behavior are tested.
Session order¶
- Read or correct the theory page.
- Write a failing lab test.
- Implement the smallest production change.
- Run focused and full tests.
- Update the lab guide and evidence status.
- Update senior assessment questions when behavior changes.
- Select the next incomplete lab.
The Theory Index, Lab Roadmap, Tutorials, and Senior Assessments are independent navigation paths.