Class RiskBasedAuthenticationDateTimeProperties
java.lang.Object
org.apereo.cas.configuration.model.core.authentication.risk.RiskBasedAuthenticationDateTimeProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-electrofence")
public class RiskBasedAuthenticationDateTimeProperties
extends Object
implements Serializable
- Since:
- 7.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The hourly window used before and after each authentication event in calculation to establish a pattern that can then be compared against the threshold.boolean
Enable date/time checking and criteria to calculate risky authentication attempts.setEnabled
(boolean enabled) Enable date/time checking and criteria to calculate risky authentication attempts.setWindowInHours
(int windowInHours) The hourly window used before and after each authentication event in calculation to establish a pattern that can then be compared against the threshold.
-
Constructor Details
-
RiskBasedAuthenticationDateTimeProperties
public RiskBasedAuthenticationDateTimeProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Enable date/time checking and criteria to calculate risky authentication attempts. -
getWindowInHours
public int getWindowInHours()The hourly window used before and after each authentication event in calculation to establish a pattern that can then be compared against the threshold. -
setEnabled
Enable date/time checking and criteria to calculate risky authentication attempts.- Returns:
this
.
-
setWindowInHours
The hourly window used before and after each authentication event in calculation to establish a pattern that can then be compared against the threshold.- Returns:
this
.
-