This repository contains two plugins for time based Actions in the Authentication flow.
Curity Identity Server 7.3.0 or later and its system requirements.
Note: Make sure that Java 17 is installed and JAVA_HOME
is set properly.
Both plugins will be packaged in one single jar.
- Run
mvn package
- Create a directory in
/usr/share/plugins/
. Ex.time
- Copy the generated .jar file in
target/usr/share/plugins/authenticationactions.timedeny/
to the newly created folder/usr/share/plugins/time
- Restart the Curity Identity Server
- Create an Action of type
Time Deny
- Add the action to the authenticator as a login action.
- Configure the
No Access Before
andNo Access After
parameters to define when access should not be allowed. - Select a time zone that this action should apply to. The default is
system-time
and will use the System Time of the Curity server.
The No Access Before
denotes the start time of any particular day in which access should be granted; the No Access After
denotes the end point on the same day.
- Create an Action of type
Date Time Deny
- Add the Action to the authenticator as a Login Action.
- Set
Date and Time
. - Choose if access should be denied before or after the configured date and time.
This action restricts access until a certain point on the timeline or, conversely, allows it until a certain point.
This plugin and its associated documentation is listed under the Apache 2 license.
Please visit curity.io for more information about the Curity Identity Server.
Copyright (C) 2020 Curity AB.