Files
floci/src/test/java
Priamo Germosen f76de9c463 refactor(iam): move request operation resolution out of the enforcement filter (#8785)
IamEnforcementFilter works out which service a request reaches, the
operation it calls there and the IAM action that operation is authorized
as, for Query, Smithy RPC v2, JSON and REST requests alike. That lives in
private methods of the filter and runs only while IAM enforcement is on.

The fault-injection half of #4623 needs the same answer for every request,
enforcement on or off, to match FIS inject-api actions against the
operations they name. Move it, unchanged, into RequestOperationResolver:

- ResolvedAuthorization becomes the public ResolvedOperation record.
- The resolver is an application-scoped bean rather than a JAX-RS
  provider, so it takes the matched ResourceInfo as a parameter.
- The filter builds its own instance from the four collaborators it
  already holds, so none of its constructors change.

RequestOperationResolverTest covers each protocol against the real service
catalog and action rules, with no Quarkus boot.

Refs #4623
2026-11-17 18:35:09 -04:00
..