org.acegisecurity.captcha
Class AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor

java.lang.Object
  extended by org.acegisecurity.captcha.CaptchaChannelProcessorTemplate
      extended by org.acegisecurity.captcha.AlwaysTestBelowAverageTimeInMillisBetweenRequestsChannelProcessor
All Implemented Interfaces:
ChannelProcessor, 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 $
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 InitializingBean
Overrides:
afterPropertiesSet in class CaptchaChannelProcessorTemplate
Throws:
Exception - if false


Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.