Rule - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

rule

Enters Stylesheet Policy Rule configuration mode.
Syntax
rule name
rule name {request | response}
no rule name
Parameters
name
request
response
Guidelines
The rule command (Global), in conjunction with the match command (Stylesheet
Policy), provides one method of rule creation. An alternative method is provided
by the request-rule, response-rule, and rule commands (all available in Stylesheet
Policy).
Rules initiated from Global configuration mode are global named objects that are
available for assignment to one or more Processing Policies. Rules initiated from
Stylesheet Policy configuration mode are internal to a specific Processing Policy
and cannot be reused by other policies.
In the absence of a request or response keyword, the global rule is bidirectional
and is applied to both client requests and server responses.
Global rules can be used in the implementation of a Processing Policy. A
Processing Policy enables an XML Firewall or XSL Proxy to select an appropriate
style sheet with which to filter or transform an input document. The selected style
sheet can be used in conjunction with, or instead of, processing instructions
contained within the input document.
Refer to Appendix B, "Processing Policy procedures," on page 999 for procedural
details regarding the creation and implementation global rules and Processing
Policies.
Use the no rule command to delete a global processing rule.
# rollback chkpoint foo
Rollback Chkpoint foo is initiated (may take a few
minutes to complete)
#
Specifies the name of the global processing rule.
The name can contain a maximum of 128 characters. For restrictions, refer
to "Object name conventions" on page xxiv.
Identifies the global rule as a request rule. This type of rule applies to
client requests only.
Identifies the global rule as a response rule. This type of rule applies to
server responses only.
Chapter 2. Global configuration mode
87

Advertisement

Table of Contents
loading

Table of Contents