API Gateway 7.6.2 Policy Developer Filter Reference Save PDF Selected topic Selected topic and subtopics All content API Management Versions 7.5.X And 7.6.X Reached End Of Support In November 2020. Please Contact Axway Support To Discuss Which Options Are Available To You. Compare attribute Overview The Compare Attribute filter enables you to compare the value of a specified message attribute on the API Gateway white board with the values specified in the filter. For example, the following filter only passes if the ${authentication.subject.id} message attribute has a value of penelope: Configuration Configure the following fields: Name:Enter an appropriate name for this filter to display in a policy. Filter will pass if:Select all or one of the specified conditions to apply. Defaults to all. Click the Add button at the bottom right to specify a rule condition. In the Attribute filter rule dialog, perform the following steps: Enter a message attribute selector in the Value from text box on the left (for example, ${http.request.verb} or ${my.customer.attribute}). Select one of the following rule conditions from the list:containsdoesn't containdoesn't match regular expressionends withisis notmatches regular expressionstarts with Enter a value to compare with in the text box on the right (for example, POST). Alternatively, you can enter a selector that is expanded at runtime (for example, ${http.request.uri}). For more details on selectors, see Select configuration values at runtime in the API Gateway Policy Developer Guide. Click OK. Finally, to edit or delete an existing rule condition, select it in the table, and click the appropriate button. Related Links
API Management Versions 7.5.X And 7.6.X Reached End Of Support In November 2020. Please Contact Axway Support To Discuss Which Options Are Available To You. Compare attribute Overview The Compare Attribute filter enables you to compare the value of a specified message attribute on the API Gateway white board with the values specified in the filter. For example, the following filter only passes if the ${authentication.subject.id} message attribute has a value of penelope: Configuration Configure the following fields: Name:Enter an appropriate name for this filter to display in a policy. Filter will pass if:Select all or one of the specified conditions to apply. Defaults to all. Click the Add button at the bottom right to specify a rule condition. In the Attribute filter rule dialog, perform the following steps: Enter a message attribute selector in the Value from text box on the left (for example, ${http.request.verb} or ${my.customer.attribute}). Select one of the following rule conditions from the list:containsdoesn't containdoesn't match regular expressionends withisis notmatches regular expressionstarts with Enter a value to compare with in the text box on the right (for example, POST). Alternatively, you can enter a selector that is expanded at runtime (for example, ${http.request.uri}). For more details on selectors, see Select configuration values at runtime in the API Gateway Policy Developer Guide. Click OK. Finally, to edit or delete an existing rule condition, select it in the table, and click the appropriate button.