Package org.apereo.cas.impl.plans
Class BaseAuthenticationRiskContingencyPlan
- java.lang.Object
-
- org.apereo.cas.impl.plans.BaseAuthenticationRiskContingencyPlan
-
- All Implemented Interfaces:
AuthenticationRiskContingencyPlan
- Direct Known Subclasses:
BlockAuthenticationContingencyPlan,MultifactorAuthenticationContingencyPlan
public abstract class BaseAuthenticationRiskContingencyPlan extends java.lang.Object implements AuthenticationRiskContingencyPlan
- Since:
- 5.1.0
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContextapplicationContextApp context.protected org.apereo.cas.configuration.CasConfigurationPropertiescasPropertiesCAS properties.
-
Constructor Summary
Constructors Constructor Description BaseAuthenticationRiskContingencyPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationRiskContingencyResponseexecute(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService service, AuthenticationRiskScore score, javax.servlet.http.HttpServletRequest request)Execute authentication risk contingency plan and produce a response.protected AuthenticationRiskContingencyResponseexecuteInternal(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService service, AuthenticationRiskScore score, javax.servlet.http.HttpServletRequest request)Execute authentication risk contingency plan.java.util.Set<AuthenticationRiskNotifier>getNotifiers()
-
-
-
Method Detail
-
execute
public final AuthenticationRiskContingencyResponse execute(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService service, AuthenticationRiskScore score, javax.servlet.http.HttpServletRequest request)
Description copied from interface:AuthenticationRiskContingencyPlanExecute authentication risk contingency plan and produce a response.- Specified by:
executein interfaceAuthenticationRiskContingencyPlan- Parameters:
authentication- the authenticationservice- the servicescore- the scorerequest- the request- Returns:
- the authentication risk contingency response
-
getNotifiers
public java.util.Set<AuthenticationRiskNotifier> getNotifiers()
-
executeInternal
protected AuthenticationRiskContingencyResponse executeInternal(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService service, AuthenticationRiskScore score, javax.servlet.http.HttpServletRequest request)
Execute authentication risk contingency plan.- Parameters:
authentication- the authenticationservice- the servicescore- the scorerequest- the request- Returns:
- the authentication risk contingency response. May be null.
-
-