java.lang.Object
SecurityContextImpl
org.acegisecurity.captcha.CaptchaSecurityContextImpl
- All Implemented Interfaces:
- CaptchaSecurityContext
- public class CaptchaSecurityContextImpl
- extends SecurityContextImpl
- implements CaptchaSecurityContext
Default CaptchaSecurityContext implementation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
human
private boolean human
humanRestrictedResourcesRequestsCount
private int humanRestrictedResourcesRequestsCount
lastPassedCaptchaDate
private long lastPassedCaptchaDate
CaptchaSecurityContextImpl
public CaptchaSecurityContextImpl()
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