pub trait PrimaryEnrollmentResolver: Send + Sync {
// Required method
fn primary_group(
&self,
principal: &str,
tenant: &str,
) -> Option<PrimaryGroup>;
}Expand description
Fail-closed resolver of a principal’s AUTHORITATIVE, off-wire PRIMARY signer
enrollment (frozen A §5/T1: principal/tenant/role/keys/epoch — never the wire
cnf). A user/classical source credential’s cnf/hs_signer_suite is
confirmed against THIS resolver, never self-derived from the same wire key it
claims to bind. Uninstalled ⇒ every user primary denies (WS-C installs
the real resolver over its enrollment store). Service primaries resolve
against the enrollment manifest instead, so this seam governs only the
user/classical case.
Required Methods§
Sourcefn primary_group(&self, principal: &str, tenant: &str) -> Option<PrimaryGroup>
fn primary_group(&self, principal: &str, tenant: &str) -> Option<PrimaryGroup>
The ACTIVE primary signer group of principal in tenant, or None
when unknown, inactive, or tenant-mismatched (all deny).