Package org.apereo.cas.api
Interface AuthenticationRiskNotifier
-
- All Superinterfaces:
java.lang.Runnable
- All Known Implementing Classes:
AuthenticationRiskEmailNotifier,AuthenticationRiskSmsNotifier,BaseAuthenticationRiskNotifier
public interface AuthenticationRiskNotifier extends java.lang.RunnableThis isAuthenticationRiskNotifier.- Since:
- 5.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpublish()Notify in the event that an authentication attempt is considered risky.voidsetAuthentication(org.apereo.cas.authentication.Authentication authentication)Sets authentication.voidsetAuthenticationRiskScore(AuthenticationRiskScore score)Sets authentication risk score.voidsetRegisteredService(org.apereo.cas.services.RegisteredService service)Sets registered service.
-
-
-
Method Detail
-
setAuthentication
void setAuthentication(org.apereo.cas.authentication.Authentication authentication)
Sets authentication.- Parameters:
authentication- the authentication
-
setRegisteredService
void setRegisteredService(org.apereo.cas.services.RegisteredService service)
Sets registered service.- Parameters:
service- the service
-
setAuthenticationRiskScore
void setAuthenticationRiskScore(AuthenticationRiskScore score)
Sets authentication risk score.- Parameters:
score- the score
-
publish
void publish()
Notify in the event that an authentication attempt is considered risky.
-
-