org.jasig.cas.web.support
Class InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter
java.lang.Object
org.springframework.web.servlet.handler.HandlerInterceptorAdapter
org.jasig.cas.web.support.AbstractThrottledSubmissionHandlerInterceptorAdapter
org.jasig.cas.web.support.AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter
org.jasig.cas.web.support.InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.web.servlet.HandlerInterceptor
public final class InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter
- extends AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter
Attempts to throttle by both IP Address and username. Protects against instances where there is a NAT, such as
a local campus wireless network.
- Since:
- 3.3.5
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
|
Method Summary |
protected String |
constructKey(javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class org.jasig.cas.web.support.AbstractThrottledSubmissionHandlerInterceptorAdapter |
afterPropertiesSet, getFailureRangeInSeconds, getFailureThreshold, getThresholdRate, getUsernameParameter, postHandle, preHandle, recordThrottle, setFailureRangeInSeconds, setFailureThreshold, setUsernameParameter |
| Methods inherited from class org.springframework.web.servlet.handler.HandlerInterceptorAdapter |
afterCompletion |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter
public InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter()
constructKey
protected String constructKey(javax.servlet.http.HttpServletRequest request)
- Specified by:
constructKey in class AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter
Copyright © 2004-2013 Jasig. All Rights Reserved.