Class ServiceSecurityConstraintOrError

All Implemented Interfaces:
Consumer<EK9Parser.ServiceDeclarationContext>

final class ServiceSecurityConstraintOrError extends TypedSymbolAccess implements Consumer<EK9Parser.ServiceDeclarationContext>
Validates that every service declaration has a security posture: either 'open' or 'constrain by X [and Y]'. When constrain-by references are present, validates that they resolve to functions extending SecurityGate or CORSPolicy, and that a two-reference clause does not have duplicate roles (both gates or both policies).