Interface AuthenticationRequestRiskCalculator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.math.BigDecimal HIGHEST_RISK_SCORE
      Highest risk score for an authn request.
      static java.math.BigDecimal LOWEST_RISK_SCORE
      Lowest risk score for an authn request.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AuthenticationRiskScore calculate​(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService service, javax.servlet.http.HttpServletRequest request)
      Calculate authentication risk score.
    • Field Detail

      • HIGHEST_RISK_SCORE

        static final java.math.BigDecimal HIGHEST_RISK_SCORE
        Highest risk score for an authn request.
      • LOWEST_RISK_SCORE

        static final java.math.BigDecimal LOWEST_RISK_SCORE
        Lowest risk score for an authn request.
    • 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 authentication
        service - the service
        request - the request
        Returns:
        the authentication risk score