XYGATE Access Control Reference Manual
XYGATE
®
Access Control Reference Manual
Chapter 3. Node-Conditional Processing in the ACACL File
XYPRO Technology Corporation 44 Proprietary and Confidential
LIKE
Use LIKE when you wish to wildcard the names of nodes to include. You must
use regular expression style wildcarding. Refer to the XYGATE Regular
Expressions manual (refer to “
Additional XYPRO Reference Manuals” in the
“Introduction” for the instructions on how to get this and other XYPRO manuals).
If the current node name matches the regular expression pattern, the conditional
text will be evaluated for that product and node.
NOTLIKE
Use NOTLIKE when you wish to wildcard the names of nodes to exclude. You
must use regular expression style wildcarding. (Refer to the XYGATE Regular
Expressions manual.) If the current node name matches the regular expression
pattern, the conditional text will be ignored for that product and node.
In Example 1 below, if the node on which this ACACL file is being loaded is equal to
\DEV01, then the conditional text will be included. If it is not \DEV01, then the text will
not be included.
Example 1: Node-conditional to include for a specific node
#IF @NODE = "\DEV01"
…conditional text to include…
#ENDIF
In Example 2, if the name of the node on which the ACACL file is being loaded is not
\LA, then the conditional text will be included. If it is \LA, then the text will not be
included.
Example 2: Node-conditional to exclude for a specific node
#IF @NODE <> "\LA"
…conditional text to include…
#ENDIF
In Example 3, if the name of the node on which the ACACL file is being loaded begins
with the characters \NY, then the conditional text will be included. For example, if the
node name is \NY01, \NYC or \NYNY01, the text will be included. If the node name
does not match the pattern, then the text will not be included.
Example 3: Node-conditional to include a specific wildcarded node set
#IF @NODE LIKE "\\NY.*"
…conditional text to include…
#ENDIF
In Example 4, if the name of the node on which the ACACL 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 ACACL 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