This class encapsulates an authorization decision based on the time when the connection is started. The connection is permitted if it is started in one of the permitted time periods (according to the system time of the host running Zorp).
Specify the permitted time intervals as a comma-separated list, where
each element contains the beginning and ending time of the permitted interval
in HH:MM
format.
Example 5.7. PermitTime example |
---|
When used in the (("7:00", "9:00"), ("17:00", "19:00")) The following is a complete authorization policy using the above intervals: AuthorizationPolicy(name="demo_permittime_policy", authorization=PermitTime(intervals=(("7:00", "9:00"), ("17:00", "19:00")))) |
Published on May 30, 2024
© BalaSys IT Ltd.
Send your comments to support@balasys.hu