Package org.apereo.cas.impl.plans
Class BlockAuthenticationContingencyPlan
- java.lang.Object
-
- org.apereo.cas.impl.plans.BaseAuthenticationRiskContingencyPlan
-
- org.apereo.cas.impl.plans.BlockAuthenticationContingencyPlan
-
- All Implemented Interfaces:
AuthenticationRiskContingencyPlan
public class BlockAuthenticationContingencyPlan extends BaseAuthenticationRiskContingencyPlan
This isBlockAuthenticationContingencyPlan.- Since:
- 5.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_ID_BLOCK_AUTHNBlock authentication event.-
Fields inherited from class org.apereo.cas.impl.plans.BaseAuthenticationRiskContingencyPlan
applicationContext, casProperties
-
-
Constructor Summary
Constructors Constructor Description BlockAuthenticationContingencyPlan(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.context.ApplicationContext applicationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class org.apereo.cas.impl.plans.BaseAuthenticationRiskContingencyPlan
execute, getNotifiers
-
-
-
-
Field Detail
-
EVENT_ID_BLOCK_AUTHN
public static final java.lang.String EVENT_ID_BLOCK_AUTHN
Block authentication event.- See Also:
- Constant Field Values
-
-
Method Detail
-
executeInternal
protected AuthenticationRiskContingencyResponse executeInternal(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService service, AuthenticationRiskScore score, javax.servlet.http.HttpServletRequest request)
Description copied from class:BaseAuthenticationRiskContingencyPlanExecute authentication risk contingency plan.- Overrides:
executeInternalin classBaseAuthenticationRiskContingencyPlan- Parameters:
authentication- the authenticationservice- the servicescore- the scorerequest- the request- Returns:
- the authentication risk contingency response. May be null.
-
-