AbstractQueryRequestScope
Resolves the tenant, owner and space of a request. Values read from the request itself (path variables, headers) are declared; an aggregate's static tenant is a server fact and authenticated. Override the *Provenance functions when a trusted component (an authenticating gateway that owns these headers, say) vouches for them.
The space is part of the scope only for a spaced aggregate; for any other aggregate resolveSpaceId is not consulted and no space filter is added, whatever the request sends.
Inheritors
Functions
Link copied to clipboard
open override fun resolve(aggregateMetadata: AggregateMetadata<*, *>, request: ServerRequest): QueryScope