Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.captcha
Class CaptchaResponseValidator

    java.lang.Object
      org.jboss.seam.captcha.CaptchaResponseValidator

All Implemented Interfaces:
  javax.validation.ConstraintValidator<CaptchaResponse,String>

    public class CaptchaResponseValidator

extends Object
implements javax.validation.ConstraintValidator<CaptchaResponse,String>

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

Author:
  Gavin King, Marek Novotny

Constructor Summary
`CaptchaResponseValidator()`

Method Summary
`void` | `initialize(CaptchaResponse constraintAnnotation)`
`boolean` | `isValid(String value, javax.validation.ConstraintValidatorContext context)`

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(CaptchaResponse constraintAnnotation)

  Specified by:
    `initialize` in interface `javax.validation.ConstraintValidator<CaptchaResponse,String>`

### isValid

    public boolean isValid(String value,
                           javax.validation.ConstraintValidatorContext context)

  Specified by:
    `isValid` in interface `javax.validation.ConstraintValidator<CaptchaResponse,String>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.