|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICaptchaSecurityService
The interface for Captcha security service
| Field Summary | |
|---|---|
static java.lang.String |
EMPTY_STRING
|
| Method Summary | |
|---|---|
java.lang.String |
getActiveBlockHtml()
|
java.lang.String |
getHtmlCode()
Return an EMPTY_STRING if service is not available nor active |
boolean |
isActive()
|
boolean |
isAvailable()
|
void |
setActive(boolean isActive)
Activate the service for the current client |
boolean |
validate(javax.servlet.http.HttpServletRequest request)
Validates a captcha only if the service is available and active |
| Field Detail |
|---|
static final java.lang.String EMPTY_STRING
| Method Detail |
|---|
java.lang.String getHtmlCode()
java.lang.String getActiveBlockHtml()
boolean validate(javax.servlet.http.HttpServletRequest request)
request - the request, which must contain the parameter j_captcha_response
void setActive(boolean isActive)
isActive - boolean isAvailable()
boolean isActive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||