ZfaPolicyRule<I> class
abstract
A typed policy rule evaluated by PolicyGateMiddleware before next.
A rule names itself with id and decides evaluate the intent under the current ZfaMiddlewareContext. The built-in gate runs every rule in order and denies the intent at the first ZfaPolicyDecision.deny.
Constructors
Properties
Methods
-
evaluate(
I intent, ZfaMiddlewareContext ctx) → ZfaPolicyDecision -
Decide whether
intentmay proceed underctx. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited