org.molgenis.omx.auth.service
Class CaptchaService

java.lang.Object
  extended by org.molgenis.omx.auth.service.CaptchaService

@Scope(proxyMode=TARGET_CLASS,
       value="session")
@Service
public class CaptchaService
extends Object


Nested Class Summary
static class CaptchaService.CaptchaException
           
 
Constructor Summary
CaptchaService()
           
 
Method Summary
 BufferedImage createCaptcha(int width, int height)
           
 boolean validateCaptcha(String captchaAnswer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaService

public CaptchaService()
Method Detail

createCaptcha

public BufferedImage createCaptcha(int width,
                                   int height)

validateCaptcha

public boolean validateCaptcha(String captchaAnswer)
                        throws CaptchaService.CaptchaException
Throws:
CaptchaService.CaptchaException


Copyright © 2013. All Rights Reserved.