XYGATE User Authentication Reference Manual

XYGATE
®
User Authentication
Reference Manual
Chapter 2. Node-Conditional Processing in the UAACL File
XYPRO Technology Corporation 35 Proprietary and Confidential
Example 3: Node-Conditional to include a specific wildcarded node set
#IF @NODE LIKE "\\NY.*"
...conditional text to include...
#ENDIF
In Example 4 below, if the name of the node on which the UAACL begins with \MARS
then the text will not be included. If the name begins with any other value, the text will
be included. For example, if the name of the node on which the UAACL file is being
loaded is \MARS54, the text will not be included. If it is \MARS154, then it will be
included.
Example 4: Node-Conditional to exclude a specific wildcarded node set
#IF @NODE NOTLIKE "\\MARS.*"
...conditional text to include...
#ENDIF
2.2 Node Names or Patterns
The node name can be specified as an exact node name (including the leading
backslash), or as a wildcarded pattern, using simple NonStop server-supported
wildcards or regular expressions. Refer to the XYGATE Regular Expressions manual
for more information. (To get this and other XYPRO documents, refer to the section
Additional XYPRO Reference Manuals” in the “Introduction” of this manual.)
Always use double-quotation marks when specifying node names.
Note: Remember that if you are using the = or <> operators, you cannot wildcard the
node name.
In Example 1 below, the conditional text will be included only if the UAACL file is being
loaded on \MELBRN.
Example 1: Node Name Specified Exactly
#IF @NODE = "\MELBRN"
...conditional text to include...
#ENDIF
In Example 2 below, the conditional text will be included only if the UAACL file is being
loaded on a node whose name begins with \MEL. \MELBRN, \MEL124, and \MELABC
would all match the specified pattern.
Example 2: Node Name Specified With NonStop Server Wildcards
#IF @NODE LIKE "\\MEL.*"
...conditional text to include...
#ENDIF
In Example 3 below, the conditional text will be included only if the UAACL file is being
loaded on a node whose name begins with \MEL followed by 1, 2, 3 or 4 numbers.
\MELBRN would not match the specified pattern but \MEL124 would.