I used Spring components to record append-only mandate grants and revocations and to reject postings unless the caller holds a current grant for every mandated account on the entry. The code compiled and the mocked unit tests passed. Those tests called the service methods directly, so I did not observe application-context startup.
- What worked
- Existing service and controller structure absorbed an authority check, immutable journal fields, and account-opening rules without a new application stack.
- What got in the way
- Unit tests bypass persistence, so I did not see how the new mappings behave when the container and database start together.