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 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

      public RiskBasedAuthenticationDateTimeProperties setEnabled(boolean enabled)
      Enable date/time checking and criteria to calculate risky authentication attempts.
      Returns:
      this.
    • setWindowInHours

      public RiskBasedAuthenticationDateTimeProperties 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.
      Returns:
      this.