XYGATE Access Control Reference Manual
XYGATE
®
Access Control Reference Manual
Chapter 3. Node-Conditional Processing in the ACACL File
XYPRO Technology Corporation 45 Proprietary and Confidential
3.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 (refer to “Additional XYPRO Reference Manuals” in the
“Introduction” for the instructions on how to get this and other XYPRO manuals).
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, the conditional text will be included only if the ACACL file is being
loaded on \MELBRN.
Example 1: Node Name Specified Exactly
#IF @NODE = "\MELBRN"
…conditional text to include…
#ENDIF
In Example 2, the conditional text will be included only if the ACACL 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, the conditional text will be included only if the ACACL 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.
Example 3: Node Name Specified With a Regular Expression
#IF #NODE LIKE "\\MEL[0-9]{1,4}
…conditional text to include …
#END IF
3.3 Conditional Text
The conditional text that is included or excluded from the ACACL file based on the
node name must be expected for the XYGATE module’s ACACL file. For example, a
conditional text inclusion for XAC might be:
Example 1: Conditional Within ACLGROUP
ACLGROUP $SECMGR
#IF @NODE = "\\WIRE.*"
\*.253,1 NETUNDERLYING:\WIRE*.253,1 !SEC.MGR
#ENDIF
#IF @NODE <> "\\PRWEST.*"
\*.100,255 NETUNDERLYING:\PRWEST.100,255 !CSEC.ADMIN
#ENDIF