Variable Regex Transformation

With the Internet of Things: Edge Connect product, connected users and devices can communicate on a publish-subscribe basis within reserved namespaces. In conjunction with the Mutual Authentication behavior, this behavior affects how clients can authenticate themselves to the edge servers, and which groups within namespaces are authorized to access topics.

How it works

This behavior transforms a source string value extracted from the client certificate and stored as a variable, then transforms the string based on a regular expression search pattern, for use in authenticating the client request.

Features and options

Field

What it does

Regex Pattern

Specifies a Perl-compatible regular expression with a single grouping to capture the text. For example, a value of ^.(.{0,10})omits the first character, but then captures up to 10 characters after that. If the regular expression does not capture a substring, authentication may fail.

πŸ“˜

You can apply this regular expression transformation, or either of the Variable Hash Transformation or Variable Substring Transformation behaviors.


Did this page help you?