| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
generate()
Generates a new captcha challenge, returning it's identifier
|
SerializableInputStream |
getImage(java.lang.Long id,
java.lang.Long groupId)
Returns the image which corresponds to the given id
|
boolean |
isValid(java.lang.Long id,
java.lang.String text)
Returns whether the captcha challenge is valid
|
java.lang.Long generate()
throws FrameworkException
FrameworkException@GwtIncompatible SerializableInputStream getImage(java.lang.Long id, java.lang.Long groupId) throws FrameworkException
FrameworkException@GwtIncompatible boolean isValid(java.lang.Long id, java.lang.String text) throws FrameworkException
FrameworkException