Chapter 57. Policy Attachments Configuration Mode; Enforcement-Mode; External-Policy - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Chapter 57. Policy Attachments configuration mode

This chapter provides an alphabetic listing of commands that are available in
Policy Attachments configuration mode.
To enter this configuration mode, use the Global policy-attachments command.
Many of the commands that are listed in "Common commands" on page 2 and
most, but not all, of the commands that are listed in Chapter 114, "Monitoring
commands," on page 949 are also available in this configuration mode.

enforcement-mode

Filters or modifies messages.
Syntax
enforcement-mode {enforce | filter}
Parameters
enforce
filter
Guidelines
The enforcement-mode command defines how the configuration enforces
WS-Policy. For example, if a policy requires a response to be encrypted, filter will
reject the response and trigger error handling if the output is not encrypted, but
enforce will encrypt the outgoing.
If the mode is enforce and the configuration does not provide the required policy
parameters to encrypt the output, the mode switches to filter behavior and triggers
error handling and the log contains a message that is similar to the following
warning:

external-policy

Associate external policy with a service or port.
Syntax
external-policy {service | port} wsdlComponentValue URL
© Copyright IBM Corp. 1999, 2008
Creates a configuration that might transform client requests or client
responses to satisfy policy.
Creates a configuration that rejects client requests and server responses that
do not satisfy policy. A rejection triggers error handling.
Wed Nov 07 2007 08:24:00 [ws-security-policy][ws-proxy][warn]
wsgw(wssp-policy-015h): tid(1425)[request]: WS-SecurityPolicy Mapping:
A message cannot be encrypted during enforcement
521

Advertisement

Table of Contents
loading

Table of Contents