HP-UX AAA Server A.08.02 Administrator's Guide

17 Decision = ACK
18 Reply-Message = "Daytime access allowed"
19 }
20 }
21 Group Nighttime-Access {
22 Condition {
23 (Access-Group = nighttime) &&
24 ((Time-Of-Day < 06:00) || (Time-Of-Day > 20:00))
25 }
26 Reply {
27 Decision = ACK
28 Reply-Message = "Nighttime access allowed"
29 }
30 }
31 Group Denied-by-timed-access {
32 Reply {
33 Decision = NAK
34 Reply-Message = "Time-Based access denied"
35 }
36 }
Line 1 Names the first group entry Weekday-Access.
Lines 2 to 5 If the user belongs to the weekday access group and calls on a weekday,
they belong to this group.
Line 7 The Decision attribute returns the ACK value to the FSM as an event, which
accepts the request.
Line 8 Specifies a message that is sent back to the user.
Lines 11 to 30 Define the second and third groups with a structure similar to the first group
entry.
Line 31 Names the fourth group Denied-by-time-access. Requests that do not match
with the previous two groups are matched to this group, because this group
entry does not include a condition section.
Line 33 The Decision attribute returns the NAK value to the FSM as an event, which
rejects the request.
Line 34 Specifies a message that is sent back to the user.
446 Syntax of the Decision Files in Earlier Versions of the HP-UX AAA Server