global

Version

The global chain applies plugins to all endpoints, enabling centralized features such as global user authentication, logging, and other cross-cutting concerns.

Example Configuration

global:
- jsonProtection: {}
- xmlProtection: {}
- request:
- log:
message: "Path: ${path}"
global:
   - jsonProtection: {}
   - xmlProtection: {}
   - request:
       - log:
           message: "Path: ${path}"

Syntax

global:
- <flow>
global:
  - <flow>

Child Structure

ElementCardinalityDescription
flow0..*Sets the flow of plugins that will be executed.

Can be used in

No parent elements.