org.acegisecurity.captcha
Class AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor

java.lang.Object
  extended by org.acegisecurity.captcha.CaptchaChannelProcessorTemplate
      extended by org.acegisecurity.captcha.AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor
All Implemented Interfaces:
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_BELOW_AVERAGE_TIME_IN_MILLIS_REQUESTS
Note : before first humanity check

Version:
$Id: AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Marc-Antoine Garrigue

Field Summary
static String DEFAULT_KEYWORD
          Keyword for this channelProcessor
 
Fields inherited from class org.acegisecurity.captcha.CaptchaChannelProcessorTemplate
logger
 
Constructor Summary
AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor()
          Constructor
 
Method Summary
 void afterPropertiesSet()
          Verify if thresold is > 0
 
Methods inherited from class org.acegisecurity.captcha.CaptchaChannelProcessorTemplate
decide, getEntryPoint, getKeyword, getThresold, setEntryPoint, setKeyword, setThresold, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_KEYWORD

public static final String DEFAULT_KEYWORD
Keyword for this channelProcessor

See Also:
Constant Field Values
Constructor Detail

AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor

public AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor()
Constructor

Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Verify if thresold is > 0

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class CaptchaChannelProcessorTemplate
Throws:
Exception - if false


Copyright © 2004-2012 Interface21, Inc. All Rights Reserved.