Class CaptchEtat
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.captcha.AbstractCaptcha
org.ametys.plugins.captchetat.captcha.CaptchEtat
- All Implemented Interfaces:
- Captcha,- LogEnabled,- PluginAware,- Configurable,- Serviceable
Captcha implementation with images
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancheckAndInvalidateCaptcha(String key, String value) Check if the Captcha is correctgetLabel()Get the Captcha type labelGet the label to display when login has failed with this captchaGet the label to display when too many attempt have been doneGet the minimal url patterns used by the captcha implementation.voidservice(ServiceManager manager) Methods inherited from class org.ametys.core.captcha.AbstractCaptchaconfigure, getConfigParameters, getId, getLoginSCSSURL, getXSLHelperURL, setPluginInfoMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabledgetLogger, setLoggerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.core.captcha.CaptcharequireUserInteraction
- 
Constructor Details- 
CaptchEtatpublic CaptchEtat()
 
- 
- 
Method Details- 
service- Specified by:
- servicein interface- Serviceable
- Throws:
- ServiceException
 
- 
checkAndInvalidateCaptchaDescription copied from interface:CaptchaCheck if the Captcha is correct- Specified by:
- checkAndInvalidateCaptchain interface- Captcha
- Parameters:
- key- the key
- value- the value
- Returns:
- true if correct
 
- 
getLabelDescription copied from interface:CaptchaGet the Captcha type label
- 
getLoginFailedBecauseCaptchaFailedLabelDescription copied from interface:CaptchaGet the label to display when login has failed with this captcha- Specified by:
- getLoginFailedBecauseCaptchaFailedLabelin interface- Captcha
- Returns:
- the label
 
- 
getLoginFailedBecauseTooManyAttemptLabelDescription copied from interface:CaptchaGet the label to display when too many attempt have been done- Specified by:
- getLoginFailedBecauseTooManyAttemptLabelin interface- Captcha
- Returns:
- the label
 
- 
getUsedUrlPatternsDescription copied from interface:CaptchaGet the minimal url patterns used by the captcha implementation. This is necessary to grant those url even when the user is not authentified (in particular to set a catpcha on the login page). Do no put a too wide range (such as ^.*$) since it may introduce security issues.- Specified by:
- getUsedUrlPatternsin interface- Captcha
- Returns:
- The minimal url patterns used by the captcha implementation.
 
 
-