The False filter can be used to force a path in the
policy to return false. This can be useful in cases where you want to
create a false positive path in a policy.
The following policy parses the HTTP request and then runs a
Message Size filter on the message to make sure that the
message is no larger than 1000 bytes. If we want to make sure that the
message cannot be greater than this size, we can connect a
False filter to the success path
of the Message Size filter. This means that an
exception will be raised if a message exceeds 1000 bytes in size.
Policy with a False Filter
|
|