Adding a WS-Security message layout filter
How to create a WS-Security message layout filter that checks the document for WS-Security message layout.
About this task
This filter determines whether to accept or reject documents based on the order of elements in the WS-Security header.
A message layout filter uses the store:///wssecurity-message-layout-filter.xsl stylesheet.
Procedure
- Drag the Filter icon to the configuration path.
- Double-click the Filter icon.
- In the Input field, specify the context of the message to process.
- Click the Advanced tab.
- From the Filter method list, select WS-Security message layout filter.
- Set the Asynchronous property to indicate whether to process asynchronously. When enabled, the action does not need to complete before the rule starts processing its next action.
- From the WS-Security message layout policy list, select which WS-Security assertion to apply.
- Optional: Select Enable GatewayScript debug
from the actions list to debug a GatewayScript program. The program can be called from a
gatewayscriptelement or a gatewayscript() function in the stylesheet that you specify in the Transform file field. - In the Output field, specify the context of the message after processing.
- Click Done.
What to do next
If this action is the last one for the rule, click Apply policy. Otherwise, drag another icon to the configuration path.