com.atlassian.confluence.security
Class ConfluenceImageCaptchaService

java.lang.Object
  extended by com.octo.captcha.service.AbstractCaptchaService
      extended by com.atlassian.confluence.security.ConfluenceImageCaptchaService
All Implemented Interfaces:
com.octo.captcha.service.CaptchaService, com.octo.captcha.service.image.ImageCaptchaService

public class ConfluenceImageCaptchaService
extends com.octo.captcha.service.AbstractCaptchaService
implements com.octo.captcha.service.image.ImageCaptchaService


Field Summary
 
Fields inherited from class com.octo.captcha.service.AbstractCaptchaService
engine, store
 
Constructor Summary
ConfluenceImageCaptchaService(com.octo.captcha.engine.CaptchaEngine engine, com.octo.captcha.service.captchastore.CaptchaStore store)
           
 
Method Summary
protected  java.lang.Object getChallengeClone(com.octo.captcha.Captcha captcha)
           
 java.awt.image.BufferedImage getImageChallengeForID(java.lang.String ID)
           
 java.awt.image.BufferedImage getImageChallengeForID(java.lang.String ID, java.util.Locale locale)
           
 
Methods inherited from class com.octo.captcha.service.AbstractCaptchaService
generateAndStoreCaptcha, getChallengeForID, getChallengeForID, getQuestionForID, getQuestionForID, validateResponseForID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.octo.captcha.service.CaptchaService
getChallengeForID, getChallengeForID, getQuestionForID, getQuestionForID, validateResponseForID
 

Constructor Detail

ConfluenceImageCaptchaService

public ConfluenceImageCaptchaService(com.octo.captcha.engine.CaptchaEngine engine,
                                     com.octo.captcha.service.captchastore.CaptchaStore store)
Method Detail

getImageChallengeForID

public java.awt.image.BufferedImage getImageChallengeForID(java.lang.String ID)
                                                    throws com.octo.captcha.service.CaptchaServiceException
Specified by:
getImageChallengeForID in interface com.octo.captcha.service.image.ImageCaptchaService
Throws:
com.octo.captcha.service.CaptchaServiceException

getImageChallengeForID

public java.awt.image.BufferedImage getImageChallengeForID(java.lang.String ID,
                                                           java.util.Locale locale)
                                                    throws com.octo.captcha.service.CaptchaServiceException
Specified by:
getImageChallengeForID in interface com.octo.captcha.service.image.ImageCaptchaService
Throws:
com.octo.captcha.service.CaptchaServiceException

getChallengeClone

protected java.lang.Object getChallengeClone(com.octo.captcha.Captcha captcha)
Specified by:
getChallengeClone in class com.octo.captcha.service.AbstractCaptchaService


Copyright © 2003-2014 Atlassian. All Rights Reserved.