|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CaptchaManager
| Method Summary | |
|---|---|
java.util.Collection |
addCaptchaGroups(java.util.Collection selectedGroups)
Method adds a Collection of group names to the existing groups for the captcha group setting. |
void |
excludeGroups()
|
void |
excludeNone()
|
void |
excludeRegisteredUsers()
|
java.lang.String |
generateCaptchaId()
|
java.lang.String |
getExclude()
|
com.octo.captcha.service.image.ImageCaptchaService |
getImageCaptchaService()
|
boolean |
isCaptchaAvailable()
|
boolean |
isCaptchaEnabled()
|
boolean |
isDebugEnabled()
|
void |
removeCaptchaGroup(java.lang.String group)
Removes a group from the list of captcha groups |
void |
setCaptchaEnabled(boolean value)
|
void |
setCaptchaGroups(java.util.Collection groupList)
|
void |
setDebugMode(boolean value)
If true the captcha manager will accept "DEBUG" for every generated capthca and reject all other tokens. |
void |
setExclude(java.lang.String value)
|
void |
setImageCaptchaService(com.octo.captcha.service.image.ImageCaptchaService imageCaptchaService)
|
boolean |
showCaptchaForCurrentUser()
Determines whether a capture has to be shown for the currently logged in users |
boolean |
validateCaptcha(java.lang.String captchaId,
java.lang.String captchaResponse)
validate captcha response |
| Method Detail |
|---|
boolean validateCaptcha(java.lang.String captchaId,
java.lang.String captchaResponse)
captchaId - captchaResponse -
boolean isCaptchaEnabled()
void setCaptchaEnabled(boolean value)
boolean isDebugEnabled()
void setDebugMode(boolean value)
value - java.lang.String getExclude()
void setExclude(java.lang.String value)
java.util.Collection addCaptchaGroups(java.util.Collection selectedGroups)
selectedGroups - Collection of group names
void removeCaptchaGroup(java.lang.String group)
group - Stringboolean showCaptchaForCurrentUser()
void excludeNone()
void excludeRegisteredUsers()
void excludeGroups()
void setCaptchaGroups(java.util.Collection groupList)
boolean isCaptchaAvailable()
void setImageCaptchaService(com.octo.captcha.service.image.ImageCaptchaService imageCaptchaService)
com.octo.captcha.service.image.ImageCaptchaService getImageCaptchaService()
java.lang.String generateCaptchaId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||