Applies To:Show Versions
- 14.0.1, 14.0.0
About Tcl usage in APM
Tcl syntax notes
Standard Tcl SyntaxAPM supports the various facilities provided by the
Tcl language; for example, loops (
Additional commands and operators
- Rule operators: A rule operator compares two operands in an expression.
- Logical operators: A logical operator compares two values in an expression.
Command or Operator
mcgetis an abbreviation for: get the session variable from the memory cache. Access Policy Manager (APM) stores all session variables generated in a session in its memory cache. When evaluating a branch rule, APM accesses session variables from system memory using the Tcl command
Tests whether one string contains another string.
Tests whether one string ends with another string.
Tests whether one string equals another string.
Tests whether one string matches another string.
Tests whether one string matches a regular expression.
Tests whether one string starts_with another string.
Evaluates one of several scripts, depending on a given value.
Performs a logical and comparison between two values.
Performs a logical not action on a value.
Performs a logical or comparison between two values.
The brackets [ ] that enclose the entire command are the Tcl notation for command evaluation.
This command gets the session variable from the memory cache.
Braces enclose the session variable.
Session variable name
Session variables that are generated during a session are stored in memory cache.
Checking a certificate field
The Tcl language specifies that an expression begin with the syntax
This operator checks for the string PD.
0 or 1
0 usually indicates failure, while 1 usually indicates success.