org.jasig.cas.web.support
Class InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter

java.lang.Object
  extended by org.springframework.web.servlet.handler.HandlerInterceptorAdapter
      extended by org.jasig.cas.web.support.AbstractThrottledSubmissionHandlerInterceptorAdapter
          extended by org.jasig.cas.web.support.AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter
              extended by 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

Field Summary
 
Fields inherited from class org.jasig.cas.web.support.AbstractThrottledSubmissionHandlerInterceptorAdapter
log
 
Constructor Summary
InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter()
           
 
Method Summary
protected  String constructKey(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.jasig.cas.web.support.AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter
decrementCounts, exceedsThreshold, recordSubmissionFailure
 
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
 

Constructor Detail

InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter

public InMemoryThrottledSubmissionByIpAddressAndUsernameHandlerInterceptorAdapter()
Method Detail

constructKey

protected String constructKey(javax.servlet.http.HttpServletRequest request)
Specified by:
constructKey in class AbstractInMemoryThrottledSubmissionHandlerInterceptorAdapter


Copyright © 2004-2013 Jasig. All Rights Reserved.