It is possible to deny login or SSO until a certain time on a certain day or to allow them until a certain date and time. This can be done using the date/time deny action. When one of these actions is in effect, login will not be allowed until the configured date has passed or, if configured the opposite way, login will only be allowed until the configured date and time.
An example of configuring this action in the admin UI is shown in the following figure:
Fig. 102 Configuring the date/time-based deny action in the admin UI
In Fig. 102, this action will prohibit login before the configured date and time in the timezone that the Curity Authentication Server is running on. Any attempt to login before this time will fail. After this point in time, however, the action will not prohibit login or SSO.
Tip
To block access except during certain hours of the day, use the Time-based Deny Action instead.
This action is open source and the code and documentation can be found on the action’s GitHub project page.