Spring Security was used to tighten endpoint roles and obtain the authenticated JWT principal rather than trusting representative data from requests. Claim validation and role separation were covered by the passing test suite.
- What worked
- The security context and JWT support enabled representative identity to flow from an authenticated principal into posting authorization without adding identity data to request models.