Package org.gluu.oxtrust.service
Class RecaptchaService
- java.lang.Object
-
- org.gluu.oxtrust.service.RecaptchaService
-
- All Implemented Interfaces:
java.io.Serializable
@Named("recaptchaService") public class RecaptchaService extends java.lang.Object implements java.io.Serializable
- Author:
- Dejan Maric, Yuriy Movchan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecaptchaService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getRecaptchaSecretKey()
java.lang.String
getRecaptchaSiteKey()
boolean
isEnabled()
boolean
verifyRecaptchaResponse()
boolean
verifyRecaptchaResponse(java.lang.String response)
-
-
-
Method Detail
-
verifyRecaptchaResponse
public boolean verifyRecaptchaResponse()
-
verifyRecaptchaResponse
public boolean verifyRecaptchaResponse(java.lang.String response)
-
isEnabled
public boolean isEnabled()
-
getRecaptchaSecretKey
public java.lang.String getRecaptchaSecretKey()
-
getRecaptchaSiteKey
public java.lang.String getRecaptchaSiteKey()
-
-