global

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

Can be used in:

serviceProxy, api, proxy, global, chainDef, for, choose, stompProxy, if, registration, wsStompReassembler, internal, interceptor, chain, router, bean, transport and soapProxy

Child Elements

ElementsDescriptionCardinality
response 0..*
echo 0..*
request 0..*
abort 0..*

Other optional Child Elements

login, webSocket, oauth2authserver, accountRegistration, ntlm, requireAuth, jwtSign, json2Xml, xmlProtection, apiKey, oauth2PermissionChecker, tcp, clusterNotification, for, rewriter, destination, wadlRewriter, if, oauth2Resource2, balancer, statisticsJDBC, prometheus, APIsJSON, logContext, rateLimiter, http2xml, log, replace, transform, global, authHead2Body, dispatching, stompClient, cors, xml2Json, setProperty, openTelemetry, jsonProtection, flowInitiator, headerFilter, acmeHttpChallenge, accessControl, clamav, urlNormalizer, call, cache, xmlContentFilter, counter, groovyTemplate, wsdlRewriter, index, template, openapiValidator, reverseProxying, methodOverride, wsdlPublisher, setHeader, userFeature, adminConsole, statisticsCSV, return, soapBody, greaser, soapOperationExtractor, adminApi, shutdown, xenAuthentication, ruleMatching, static, limit, internalRouting, accessLog, kubernetesValidation, apiDocs, paddingHeader, validator, throttle, webServer, rest2Soap, regExReplacer, webServiceExplorer, interceptor, graphQLProtection, analyser, jwtAuth, openapiPublisher, httpClient, soapStackTraceFilter, groovy, tokenValidator, sampleSoapService, formValidation, beautifier, statisticsProvider, testService, shadowing, chain, choose, basicAuthentication, soap2Rest, javascript, exchangeStore