org.jasig.cas.web.support
Class InMemoryThrottledSubmissionByIpAddressHandlerInterceptorAdapter
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.InMemoryThrottledSubmissionByIpAddressHandlerInterceptorAdapter
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.web.servlet.HandlerInterceptor
public final class InMemoryThrottledSubmissionByIpAddressHandlerInterceptorAdapter
- extends AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter
Throttles access attempts for failed logins by IP Address. This stores the attempts in memory. This is not good for a
clustered environment unless the intended behavior is that this blocking is per-machine.
- 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 |
InMemoryThrottledSubmissionByIpAddressHandlerInterceptorAdapter
public InMemoryThrottledSubmissionByIpAddressHandlerInterceptorAdapter()
constructKey
protected String constructKey(javax.servlet.http.HttpServletRequest request)
- Specified by:
constructKey in class AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter
Copyright © 2004-2013 Jasig. All Rights Reserved.