Slm; Strip-Attachments - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Syntax
setvar context variable value
Parameters
context Specifies the context in which to set the variable.
variable
value
Guidelines
If the var:// URL is not local, this value overrides the context that is specified by
the context argument.
Examples
v Sets the dest variable to http://ragnarok:9010/ in the INPUT context.
v Sets the dest variable to http://ragnarok:9010/ in the routing context.

slm

Adds an slm action that implements an SLM Policy.
Syntax
slm input-context name
Parameters
input-context
name
Examples
v Assigns the SLM-1 SLM Policy to the INPUT context.

strip-attachments

Adds a strip-attachments action.
Syntax
strip-attachments context [uri]
Specifies the name of the variable and takes the var:// URL format.
Assigns the value to the variable.
# setvar INPUT var://local/dest http://ragnarok:9010/
#
Overrides INPUT as the context argument.
# setvar INPUT var://context/routing/dest http://ragnarok:9010/
#
Specifies the context to monitor. Specify INPUT to use the initial policy
input, which is the original client request or server response.
Specifies the name of an SLM Policy.
# slm INPUT SLM-1
#
Chapter 103. WS-Proxy Processing Rule configuration mode
877

Advertisement

Table of Contents
loading

Table of Contents