|
||||||||||
| 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 String |
EMPTY_STRING
|
| Method Summary | |
|---|---|
String |
getActiveBlockHtml()
|
String |
getHtmlCode()
Return an EMPTY_STRING if service is not available nor active |
boolean |
isActive()
|
boolean |
isAvailable()
|
void |
setActive(boolean bActive)
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 String EMPTY_STRING
| Method Detail |
|---|
String getHtmlCode()
String getActiveBlockHtml()
boolean validate(javax.servlet.http.HttpServletRequest request)
request - the request, which must contain the parameter j_captcha_response
void setActive(boolean bActive)
bActive - True to activate, otherwise falseboolean isAvailable()
boolean isActive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||