HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
Table E-1 A-V Pair Expression Operators (continued)
DescriptionOperator
Less than or equal to<=
Logical AND&&
Logical OR||
Logical NOT!
You can also use parentheses to nest expressions. Line breaks are not significant.
Table E-2 illustrates some possible expressions that you can use to control access
depending on the dial-in phone number and time of the call.
Table E-2 A-V Pair Expression Examples
DescriptionExpression Example
Allows access if either the calling number or the
called number match the specified values.
Calling-Station-Id = 123456789
||Called-Station-Id = 8005551212
Allows access if the day of the week is between
Monday and Friday.
Day-Of-Week => Monday &&Day-Of-Week
<= Friday
Allows access when one of the following is true:
((Calling-Station-Id = 123456789
||Calling-Station-Id = 987654321)
The calling number matches either specified
value, and the called number matches the
specified number.
&&Called-Station-Id = 8005551212)
||!(Day-Of-Week => Monday
&&Day-Of-Week <= Friday)
The day of the week is not between Monday and
Friday.
Your expressions can be as short or as long as you like. Only one group match can be
made for each request. You can use short expressions, and manage each distinct decision
(DNIS routing, dynamic access control, membership in groups, and so on) in a separate
file. Alternatively, you can also create a single file with longer expressions that cover
a wide range of decision criteria.
Specifying Attributes in Group Entries
You can create decision groups for provisioning with the A-V pairs that may be used
in a user profile for session logging with accounting attributes. For more information,
see Chapter 12: “Logging and Monitoring ” (page 142). In addition, you can use the
following attributes to define a group condition or reply.
Dynamic Access Control
Day-Of-Week A string representing the day of the week (spelled out or three letter
abbreviation), or a number from 0 to 6, where 0 represents Sunday and 6 represents
Saturday. This attribute is compared to the current system clock of the system hosting
the HP-UX AAA Server that is making the comparison.
Specifying Attributes in Group Entries 597