Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Identified by type="MessageFlow", this rule enforces replay detection and freshness requirements to prevent replay attacks, along with optional message correlation enforcement.

Attributes

 3

Name

Type

Default

Description

checkCorrelation

checkCorrelation 3.1

boolean

false

Enables request/response correlation checking based on use of a cookie to track request IDs, subsequently recovered to compare to the InResponseTo attribute in a response

blockUnsolicited 3.1

boolean

false

Enables the checkCorrelation option and adds rejection of any message with an empty InResponseTo attribute

checkReplay 

checkReplay 

boolean

true

Enables or disables use of a replay cache to prevent replay attacks. Do not turn off in production.

expires

time in seconds

180

Maxmimum time permitted between a message's timestamp and when it can be processed. Bounds the size of the replay cache.

Example

Code Block
languagexml
<PolicyRule type="MessageFlow" checkReplay="true" expires="60"/>