Older version2.8 Valves InputInputParameterHashValve

InputParameterHashValve

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

Example Configuration

{      
  "name": "InputParameterHashValve",
  "enabled": "true",
  "config": {
    "provided_param_name": "{{request.uid}}",
    "destination_attribute_name": "uid",
    "prefix": "sha1:"
  }
}

Requirements