Class TimeBasedAuthenticationProperties
java.lang.Object
org.apereo.cas.configuration.model.core.authentication.TimeBasedAuthenticationProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-authentication",
automated=true)
public class TimeBasedAuthenticationProperties
extends Object
implements Serializable
This is
TimeBasedAuthenticationProperties
.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTrigger mfa on the following days of the week.long
Trigger mfa after this hour, specified in 24-hour format.long
Trigger mfa before this hour, specified in 24-hour format.The mfa provider id that should be triggered.Trigger mfa on the following days of the week.setOnOrAfterHour
(long onOrAfterHour) Trigger mfa after this hour, specified in 24-hour format.setOnOrBeforeHour
(long onOrBeforeHour) Trigger mfa before this hour, specified in 24-hour format.setProviderId
(String providerId) The mfa provider id that should be triggered.
-
Constructor Details
-
TimeBasedAuthenticationProperties
public TimeBasedAuthenticationProperties()
-
-
Method Details
-
getProviderId
The mfa provider id that should be triggered. -
getOnOrAfterHour
public long getOnOrAfterHour()Trigger mfa after this hour, specified in 24-hour format. -
getOnOrBeforeHour
public long getOnOrBeforeHour()Trigger mfa before this hour, specified in 24-hour format. -
getOnDays
Trigger mfa on the following days of the week. -
setProviderId
The mfa provider id that should be triggered.- Returns:
this
.
-
setOnOrAfterHour
Trigger mfa after this hour, specified in 24-hour format.- Returns:
this
.
-
setOnOrBeforeHour
Trigger mfa before this hour, specified in 24-hour format.- Returns:
this
.
-
setOnDays
Trigger mfa on the following days of the week.- Returns:
this
.
-