InputParameterHashValve
Note
Valve creating a SHA hash from the result of a property expansion. The hash is added as a flow attribute with an optional prefix.
Properties
Name | Description | Default value | Mandatory | Supports property expansion |
---|---|---|---|---|
provided_param_name | Expression expanding to the value to hash. | Yes | Yes | |
destination_attribute_name | Name of destination attribute. | Yes | No | |
prefix | Destination value prefix. | No | No | |
hash_algo | Hashing algorithm. Supported values are SHA1 or SHA256. | SHA1 | No | No |
Example Configuration
{
"name": "InputParameterHashValve",
"enabled": "true",
"config": {
"provided_param_name": "{{request.uid}}",
"destination_attribute_name": "uid",
"prefix": "sha256:",
"hash_algo" : "SHA256"
}
}