Class RiskBasedAuthenticationCoreProperties

java.lang.Object
org.apereo.cas.configuration.model.core.authentication.risk.RiskBasedAuthenticationCoreProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-electrofence") public class RiskBasedAuthenticationCoreProperties extends Object implements Serializable
Since:
7.0.0
See Also:
  • Constructor Details

    • RiskBasedAuthenticationCoreProperties

      public RiskBasedAuthenticationCoreProperties()
  • Method Details

    • getThreshold

      public double getThreshold()
      The risk threshold factor beyond which the authentication event may be considered risky.
    • getDaysInRecentHistory

      public long getDaysInRecentHistory()
      Indicates how far back the search in authentication history must go in order to locate authentication events.
    • setThreshold

      public RiskBasedAuthenticationCoreProperties setThreshold(double threshold)
      The risk threshold factor beyond which the authentication event may be considered risky.
      Returns:
      this.
    • setDaysInRecentHistory

      public RiskBasedAuthenticationCoreProperties setDaysInRecentHistory(long daysInRecentHistory)
      Indicates how far back the search in authentication history must go in order to locate authentication events.
      Returns:
      this.