Annotation Interface CaptchaAware


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface CaptchaAware
Annotation for occ api to check the captcha response

CaptchaAware is used to intercept these requests which want to do the validation of captcha response, like registration. CaptchaValidationException will be thrown if the given captcha token is invalid. or CaptchaTokenMissingException will be thrown if the captchaCheckEnabled=true but the header "sap-commerce-cloud-captcha-token" is not provided.