public class ConfluenceImageCaptchaService
extends com.octo.captcha.service.AbstractCaptchaService
implements com.octo.captcha.service.image.ImageCaptchaService
Constructor and Description |
---|
ConfluenceImageCaptchaService(com.octo.captcha.service.captchastore.CaptchaStore store,
com.octo.captcha.engine.CaptchaEngine engine) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getChallengeClone(com.octo.captcha.Captcha captcha) |
BufferedImage |
getImageChallengeForID(String ID) |
BufferedImage |
getImageChallengeForID(String ID,
Locale locale) |
void |
setCaptchaEngine(com.octo.captcha.engine.CaptchaEngine captchaEngine) |
generateAndStoreCaptcha, getChallengeForID, getChallengeForID, getQuestionForID, getQuestionForID, validateResponseForID
public ConfluenceImageCaptchaService(com.octo.captcha.service.captchastore.CaptchaStore store, com.octo.captcha.engine.CaptchaEngine engine)
public BufferedImage getImageChallengeForID(String ID) throws com.octo.captcha.service.CaptchaServiceException
getImageChallengeForID
in interface com.octo.captcha.service.image.ImageCaptchaService
com.octo.captcha.service.CaptchaServiceException
public BufferedImage getImageChallengeForID(String ID, Locale locale) throws com.octo.captcha.service.CaptchaServiceException
getImageChallengeForID
in interface com.octo.captcha.service.image.ImageCaptchaService
com.octo.captcha.service.CaptchaServiceException
protected Object getChallengeClone(com.octo.captcha.Captcha captcha)
getChallengeClone
in class com.octo.captcha.service.AbstractCaptchaService
public void setCaptchaEngine(com.octo.captcha.engine.CaptchaEngine captchaEngine)
setCaptchaEngine
in interface com.octo.captcha.service.image.ImageCaptchaService
Copyright © 2003–2020 Atlassian. All rights reserved.