public interface CaptchaService extends Service
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
generate()
Generates a new captcha challenge, returning it's identifier
|
boolean |
isValid(java.lang.Long id,
java.lang.String text)
Returns whether the captcha challenge is valid
|
SerializableInputStream |
readImage(java.lang.Long id,
BasicGroupVO basicGroup)
Returns the image which corresponds to the given captcha id and using the background defined for the specified
group
|
java.lang.Long generate()
throws FrameworkException
FrameworkExceptionboolean isValid(java.lang.Long id,
java.lang.String text)
throws FrameworkException
FrameworkExceptionSerializableInputStream readImage(java.lang.Long id, BasicGroupVO basicGroup) throws FrameworkException
FrameworkException