Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.captcha
Class CaptchaSecurityContextImpl  view CaptchaSecurityContextImpl download CaptchaSecurityContextImpl.java

java.lang.Object
  extended bySecurityContextImpl
      extended byorg.acegisecurity.captcha.CaptchaSecurityContextImpl
All Implemented Interfaces:
CaptchaSecurityContext

public class CaptchaSecurityContextImpl
extends SecurityContextImpl
implements CaptchaSecurityContext

Default CaptchaSecurityContext implementation


Field Summary
private  boolean human
           
private  int humanRestrictedResourcesRequestsCount
           
private  long lastPassedCaptchaDate
           
 
Constructor Summary
CaptchaSecurityContextImpl()
           
 
Method Summary
 int getHumanRestrictedResourcesRequestsCount()
          DOCUMENT ME!
 long getLastPassedCaptchaDateInMillis()
          DOCUMENT ME!
 void incrementHumanRestrictedRessoucesRequestsCount()
          Method to increment the human Restricted Resrouces Requests Count;
 boolean isHuman()
          DOCUMENT ME!
 void setHuman()
          reset the lastPassedCaptchaDate and count.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

human

private boolean human

humanRestrictedResourcesRequestsCount

private int humanRestrictedResourcesRequestsCount

lastPassedCaptchaDate

private long lastPassedCaptchaDate
Constructor Detail

CaptchaSecurityContextImpl

public CaptchaSecurityContextImpl()
Method Detail

setHuman

public void setHuman()
reset the lastPassedCaptchaDate and count.

Specified by:
setHuman in interface CaptchaSecurityContext

isHuman

public boolean isHuman()
Description copied from interface: CaptchaSecurityContext
DOCUMENT ME!

Specified by:
isHuman in interface CaptchaSecurityContext

getHumanRestrictedResourcesRequestsCount

public int getHumanRestrictedResourcesRequestsCount()
Description copied from interface: CaptchaSecurityContext
DOCUMENT ME!

Specified by:
getHumanRestrictedResourcesRequestsCount in interface CaptchaSecurityContext

getLastPassedCaptchaDateInMillis

public long getLastPassedCaptchaDateInMillis()
Description copied from interface: CaptchaSecurityContext
DOCUMENT ME!

Specified by:
getLastPassedCaptchaDateInMillis in interface CaptchaSecurityContext

incrementHumanRestrictedRessoucesRequestsCount

public void incrementHumanRestrictedRessoucesRequestsCount()
Method to increment the human Restricted Resrouces Requests Count;

Specified by:
incrementHumanRestrictedRessoucesRequestsCount in interface CaptchaSecurityContext