org.acegisecurity.captcha
Class AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor

java.lang.Object
org.acegisecurity.captcha.CaptchaChannelProcessorTemplate
org.acegisecurity.captcha.AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor
- All Implemented Interfaces:
- org.acegisecurity.securechannel.ChannelProcessor, org.springframework.beans.factory.InitializingBean
- public class AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor
- extends CaptchaChannelProcessorTemplate
return false if thresold is lower than average time millis between any
CaptchaChannelProcessorTemplate mapped urls requests and is human;
Default keyword : REQUIRES_CAPTCHA_AFTER_THRESOLD_IN_MILLIS
Note : before first humanity check
- Version:
- $Id: AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor.java,v 1.2 2005/11/17 00:55:49 benalex Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_KEYWORD
public static final java.lang.String DEFAULT_KEYWORD
- Keyword for this channelProcessor
- See Also:
- Constant Field Values
AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor
public AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor()
- Constructor
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Verify if thresold is > 0
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSet in class CaptchaChannelProcessorTemplate
isContextValidConcerningHumanity
boolean isContextValidConcerningHumanity(CaptchaSecurityContext context)
- Verify wheter the context is valid concerning humanity
- Specified by:
isContextValidConcerningHumanity in class CaptchaChannelProcessorTemplate