Repository navigation
Release v22.170.0
Summary
Capability ports now authorize the caller whose credential Arc verified, and hosts get a supported way to install signed browser-session credential verification.
Added
- Forwarded identity can require the forwarding hop to present a trusted client certificate on the TLS connection; identity headers from any other caller are ignored (#3704)
[RequiresScope]lets a command, query or controller action require scopes that a verified caller's scope ceiling must hold; other principals are not narrowed (#3731)WithVerifiedCallers(...)installs signed forwarded-identity v2 verification for browser sessions, with your person directory and an explicitly chosen nonce store. New public types:VerifiedCallersBuilder,SignedForwardedIdentityV2Builder,ICallerPersonDirectory,CallerAccountKey,CallerPersonId,CallerPersonFound,IForwardedIdentityNonceStoreandForwardedIdentityNonceReservation. The process-local nonce store suits a single instance only (#3730)- An invalid installation fails at startup with
InvalidVerifiedCallerInstallation,InvalidForwardedIdentityPublicKeyorForwardedIdentityNonceStoreNotConfigured(#3730) - A sample host and specs prove one signed browser flow through authorization, tenant membership and scopes using only public APIs (#3732)
Changed
- On capability ports, the verified caller is the authorization principal:
[Authorize], role and tenant-membership checks,ICurrentPrincipalAccessorand Chronicle causation see its subject. Roles and membership still come from your application (#3731) - Chronicle records a verified caller under its own identity; a caller acting on behalf of a user records that user in
OnBehalfOf(#3731)
Security
- Signed forwarded identity v2 credentials are accepted only through a forwarding hop that presents a trusted client certificate (#3704)
- A request on a capability port that another authentication scheme authenticated as a different subject is refused (#3731)
- Tenant membership is checked for the verified subject before an operation runs on a capability port (#3731)
- A caller verified earlier in a request is no longer reused when the forwarding hop's admission changes (#3704)