Class ReCaptchaAspect
- java.lang.Object
-
- de.hybris.platform.security.captcha.ReCaptchaAspect
-
public class ReCaptchaAspect extends java.lang.ObjectAn aspect which uses google ReCaptcha api to validate captcha answer on the storefront Registration form.
-
-
Constructor Summary
Constructors Constructor Description ReCaptchaAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectadvise(org.aspectj.lang.ProceedingJoinPoint joinPoint)protected booleancheckAnswer(java.lang.String recaptchaResponse)protected BaseStoreServicegetBaseStoreService()protected SiteConfigServicegetSiteConfigService()protected booleanisCaptchaEnabledForCurrentStore()java.lang.Objectprepare(org.aspectj.lang.ProceedingJoinPoint joinPoint)voidsetBaseStoreService(BaseStoreService baseStoreService)voidsetSiteConfigService(SiteConfigService siteConfigService)
-
-
-
Method Detail
-
prepare
public java.lang.Object prepare(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
advise
public java.lang.Object advise(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
checkAnswer
protected boolean checkAnswer(java.lang.String recaptchaResponse)
-
isCaptchaEnabledForCurrentStore
protected boolean isCaptchaEnabledForCurrentStore()
-
getSiteConfigService
protected SiteConfigService getSiteConfigService()
-
setSiteConfigService
public void setSiteConfigService(SiteConfigService siteConfigService)
-
getBaseStoreService
protected BaseStoreService getBaseStoreService()
-
setBaseStoreService
public void setBaseStoreService(BaseStoreService baseStoreService)
-
-