Package org.apereo.cas.api
Interface AuthenticationRequestRiskCalculator
-
- All Known Implementing Classes:
BaseAuthenticationRequestRiskCalculator,DateTimeAuthenticationRequestRiskCalculator,GeoLocationAuthenticationRequestRiskCalculator,IpAddressAuthenticationRequestRiskCalculator,UserAgentAuthenticationRequestRiskCalculator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AuthenticationRequestRiskCalculatorThis isAuthenticationRequestRiskCalculator.- Since:
- 5.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.math.BigDecimalHIGHEST_RISK_SCOREHighest risk score for an authn request.static java.math.BigDecimalLOWEST_RISK_SCORELowest risk score for an authn request.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticationRiskScorecalculate(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService service, javax.servlet.http.HttpServletRequest request)Calculate authentication risk score.
-
-
-
Method Detail
-
calculate
AuthenticationRiskScore calculate(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService service, javax.servlet.http.HttpServletRequest request)
Calculate authentication risk score.- Parameters:
authentication- the authenticationservice- the servicerequest- the request- Returns:
- the authentication risk score
-
-