站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

CaptchaResponseValidator (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.captcha
Class CaptchaResponseValidator

java.lang.Object
  extended by org.jboss.seam.captcha.CaptchaResponseValidator
All Implemented Interfaces:
org.hibernate.validator.Validator

public class CaptchaResponseValidator
extends Object
implements org.hibernate.validator.Validator

Validates that the input entered by the user matches the captcha image.

Author:
Gavin King

Constructor Summary
CaptchaResponseValidator()
           
 
Method Summary
 void initialize(Annotation captchaResponse)
           
 boolean isValid(Object response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaResponseValidator

public CaptchaResponseValidator()
Method Detail

initialize

public void initialize(Annotation captchaResponse)
Specified by:
initialize in interface org.hibernate.validator.Validator

isValid

public boolean isValid(Object response)
Specified by:
isValid in interface org.hibernate.validator.Validator