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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Indicates how far back the search in authentication history must go in order to locate authentication events.double
The risk threshold factor beyond which the authentication event may be considered risky.setDaysInRecentHistory
(long daysInRecentHistory) Indicates how far back the search in authentication history must go in order to locate authentication events.setThreshold
(double threshold) The risk threshold factor beyond which the authentication event may be considered risky.
-
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
The risk threshold factor beyond which the authentication event may be considered risky.- Returns:
this
.
-
setDaysInRecentHistory
Indicates how far back the search in authentication history must go in order to locate authentication events.- Returns:
this
.
-