To add a switch case, click the Add button, and configure
the following fields in the dialog:
Comparison Type:
Select the comparison type that you wish to perform with the configured message attribute.
The available options include the following:
-
Contains
-
Doesn't Contain
-
Ends With
-
Is
-
Isn't
-
Matches Regular Expression
-
Starts With
All of these options are case insensitive, except for Matches Regular
Expression .
Compare with:
Enter the value to compare the configured message attribute value with. For example, if
you select a Comparison Type of Matches Regular Expression ,
enter the regular expression in this field.
Policy:
Click the browse button next to the Policy field, and select the policy
to execute from the dialog (for example, Remove All Security Tokens).
You can search for a specific policy by entering its name in the text box, and the policy
tree is filtered automatically. The selected policy is executed when this switch case is
found.
Click OK when finished. You can click Add, and repeat
as necessary to add more switch cases to this filter. The switch cases are examined in
the order in which they are listed in the table. You can alter the sequence in which
the switch cases are evaluated by selecting a policy in the table and clicking the
Up and Down buttons on the right.
|