Class AuthorizationEngine

java.lang.Object
zeroecho.pki.server.AuthorizationEngine

public final class AuthorizationEngine extends Object
Deterministic side-effect-free default-deny authorization engine.

Evaluation is linear in the number of supplied grants and uses constant auxiliary memory. Callers supply an immutable snapshot of assignments for one decision; the engine never reads persistence or invokes external code.

  • Constructor Details

    • AuthorizationEngine

      public AuthorizationEngine(Clock clock)
      Creates an engine using an injected authoritative decision clock.
      Parameters:
      clock - injected clock
  • Method Details