- Property Manager name: Variable Substring Transformation
- Behavior version: The
latest
rule format supports thedcpAuthSubstringTransformation
behavior v1.0. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
The Internet of Things: Edge Connect product allows connected users and devices to communicate on a publish-subscribe basis within reserved namespaces. In conjunction with dcpAuthVariableExtractor
, this behavior affects how clients can authenticate themselves to edge servers, and which groups within namespaces are authorized to access topics. It transforms a source string value extracted from the client certificate and stored as a variable, then extracts a substring, for use in authenticating the client request.
Note that you can apply this substring transformation, or either of the dcpAuthHMACTransformation
or dcpAuthRegexTransformation
behaviors.
Option | Type | Description | Requires | |
---|---|---|---|---|
substringStart | string | The zero-based index offset of the first character to extract. If the index is out of bound from the string's length, authentication may fail. | {"displayType":"string","tag":"input","type":"text"} | |
substringEnd | string | The zero-based index offset of the last character to extract, where | {"displayType":"string","tag":"input","type":"text"} |