2017-12-11 20:56 GMT+01:00 Deborah White <deborah.wh...@doj.ca.gov>:
> Hello, has anyone implemented the new reCaptcha v2 (I'm not a robot) with 
> Struts 2.3.34?  I have followed examples and it just spins when clicked.

Yesterday I have extended my Google AppEngine plugin [1] with a
support for reCAPTCHA. It targets Struts 2.5.x but you can copy
relevant classes [2] and adjust them to 2.3.x
It uses a dedicated interceptor to perform reCAPTCHA validation once
an action implements ReCaptchaAware interface.

You must request keys from here [3] and then use provided JS and HTML
snippet. On server side you must define a constant with secret and
done :)


[1] https://github.com/lukaszlenart/struts2-gea-plugin
[2] 
https://github.com/lukaszlenart/struts2-gea-plugin/tree/master/src/main/java/com/gruuf/struts2/gae/recaptcha
[3] https://www.google.com/recaptcha/admin#list


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to