public class IpAddressAuthenticationRequestRiskCalculator extends BaseAuthenticationRequestRiskCalculator
casEventRepository
HIGHEST_RISK_SCORE, LOWEST_RISK_SCORE
Constructor and Description |
---|
IpAddressAuthenticationRequestRiskCalculator(CasEventRepository casEventRepository) |
Modifier and Type | Method and Description |
---|---|
protected java.math.BigDecimal |
calculateScore(javax.servlet.http.HttpServletRequest request,
Authentication authentication,
RegisteredService service,
java.util.Collection<CasEvent> events)
Calculate score authentication risk score.
|
calculate, getCasTicketGrantingTicketCreatedEventsFor, getFinalAveragedScore
public IpAddressAuthenticationRequestRiskCalculator(CasEventRepository casEventRepository)
protected java.math.BigDecimal calculateScore(javax.servlet.http.HttpServletRequest request, Authentication authentication, RegisteredService service, java.util.Collection<CasEvent> events)
BaseAuthenticationRequestRiskCalculator
calculateScore
in class BaseAuthenticationRequestRiskCalculator
request
- the requestauthentication
- the authenticationservice
- the serviceevents
- the events