withPrincipal

Returns a Connection that reports principal via PrincipalAttested. When principal is null the receiver is returned unchanged — an unauthenticated connection carries no attestation and is never wrapped.

The hub-accept counterpart of the relay path's Seam.withPrincipal: a us.tractat.kuilt.core.fabric.ConnectionSource accept handler attaches the principal it verified, and the mesh admission layer reads it back before the link is published.