CookieFilter — manage, suppress, relay cookies
Manages, suppresses and relays cookies. Managed cookies are intercepted by the cookie filter itself and stored in the gateway session; managed cookies are not transmitted to the user agent. Suppressed cookies are removed from both request and response. Relayed cookies are transmitted freely between user agent and remote server and vice-versa.
If a cookie does not appear in one of the three action parameters, then
the default action is performed, controlled by setting the
defaultAction parameter. If unspecified, the default
action is to manage all cookies. In the event a cookie appears in more than
one configuration parameter, then it will be selected in the order of
precedence: managed, suppressed, relayed.
{
"name": string,
"type": "CookieFilter",
"config": {
"managed": [ string, ... ],
"suppressed": [ string, ... ],
"relayed": [ string, ... ],
"defaultAction": string
}
}"managed": array of strings,
optionalA list of the names of cookies to be managed.
"suppressed": array of strings,
optionalA list of the names of cookies to be suppressed.
"relayed": array of strings,
optionalA list of the names of cookies to be relayed.
"defaultAction": string,
optionalAction to perform for cookies that do not match an action set. Must
be one of: "MANAGE", "RELAY",
"SUPPRESS". Default: "MANAGE".