The installation of assertion Math Expression is simple and can be done through the following steps:
- Download the package through the Math Expression Assertion and extract the jar file in your computer;
- Stop the Gateway:
service ssg stop
- Copy jar file to the api gateway to this directory:
- Start the Gateway:
Servisse ssg start
After wait the Gateway start and then access Policy Manager and filter assertion by Math Expression.
How to use the Math Expression
The usage of Math expression is very simple, drag and drop the assertion to your policy.
In the Math Expression Assertion allow specify three properties, the following table describe thi bellow:
This property allow specify the output format. The following the same formatters:
This property allow specify the variable name that contains the result.
In this property you can enter the mathematical expression using the numeric type context variables. The variables must have a valid number, otherwise a fault is generated.
The following functions allowed: