|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the configuration's typepublic interface ICaptchaAdapter<T extends Configuration>
Interface defining an adapter to a captcha-library.
The configured ICaptchaAdapter will be available through
Lifecycle.
The ICaptchaAdapter will be initialized with it's configuration by
the Lifecycle.
Lifecycle.getCaptchaAdapter()| Method Summary | |
|---|---|
java.lang.String |
getDivId()
Returns the id of the div which is to be replaced by the captcha. |
java.lang.String |
getPrivateKey()
Returns the private key for the actual captcha-implementation. |
java.lang.String |
getPublicKey()
Returns the public key for the actual captcha-implementation. |
AbstractCaptchaResponse |
validate(ServiceRequest request)
Performs the validation-request of the captcha for the given request. |
| Methods inherited from interface org.torweg.pulse.configuration.Configurable |
|---|
initialize |
| Method Detail |
|---|
AbstractCaptchaResponse validate(ServiceRequest request)
request - the current ServiceRequest
AbstractCaptchaResponsejava.lang.String getPublicKey()
java.lang.String getPrivateKey()
java.lang.String getDivId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||