Package org.apereo.cas.throttle
Class DefaultAuthenticationThrottlingExecutionPlan
java.lang.Object
org.apereo.cas.throttle.DefaultAuthenticationThrottlingExecutionPlan
- All Implemented Interfaces:
AuthenticationThrottlingExecutionPlan
public class DefaultAuthenticationThrottlingExecutionPlan
extends Object
implements AuthenticationThrottlingExecutionPlan
- Since:
- 5.3.0
-
Field Summary
Fields inherited from interface org.apereo.cas.throttle.AuthenticationThrottlingExecutionPlan
BEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets authentication throttle filter.List<org.springframework.web.servlet.HandlerInterceptor> Gets authentication throttle interceptor.Register authentication throttle filter.registerAuthenticationThrottleInterceptor(org.springframework.web.servlet.HandlerInterceptor handler) Register authentication throttle interceptor.
-
Constructor Details
-
DefaultAuthenticationThrottlingExecutionPlan
public DefaultAuthenticationThrottlingExecutionPlan()
-
-
Method Details
-
registerAuthenticationThrottleInterceptor
@CanIgnoreReturnValue public AuthenticationThrottlingExecutionPlan registerAuthenticationThrottleInterceptor(org.springframework.web.servlet.HandlerInterceptor handler) Description copied from interface:AuthenticationThrottlingExecutionPlanRegister authentication throttle interceptor.- Specified by:
registerAuthenticationThrottleInterceptorin interfaceAuthenticationThrottlingExecutionPlan- Parameters:
handler- the handler- Returns:
- the authentication throttling execution plan
-
registerAuthenticationThrottleFilter
@CanIgnoreReturnValue public AuthenticationThrottlingExecutionPlan registerAuthenticationThrottleFilter(ThrottledRequestFilter filter) Description copied from interface:AuthenticationThrottlingExecutionPlanRegister authentication throttle filter.- Specified by:
registerAuthenticationThrottleFilterin interfaceAuthenticationThrottlingExecutionPlan- Parameters:
filter- the filter- Returns:
- the authentication throttling execution plan
-
getAuthenticationThrottleFilter
Description copied from interface:AuthenticationThrottlingExecutionPlanGets authentication throttle filter.- Specified by:
getAuthenticationThrottleFilterin interfaceAuthenticationThrottlingExecutionPlan- Returns:
- the authentication throttle filter
-
getAuthenticationThrottleInterceptors
public List<org.springframework.web.servlet.HandlerInterceptor> getAuthenticationThrottleInterceptors()Description copied from interface:AuthenticationThrottlingExecutionPlanGets authentication throttle interceptor.- Specified by:
getAuthenticationThrottleInterceptorsin interfaceAuthenticationThrottlingExecutionPlan- Returns:
- the authentication throttle interceptor
-