peoplemerge / recaptcha4j

Automatically exported from code.google.com/p/recaptcha4j
1 stars 1 forks source link

Support the new reCAPTCHA SSL API #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's needed to change the old URL https://api-secure.recaptcha.net to the new 
one https://www.google.com/recaptcha/api/
I've already done it in the source if you want me to upload it.
More info here 
http://groups.google.com/group/recaptcha-announce/browse_thread/thread/c1ff68444
20c9e63?pli=1

Original issue reported on code.google.com by andres.a...@gmail.com on 27 Apr 2011 at 8:59

GoogleCodeExporter commented 9 years ago
Sorry, I made a mistake. This issue is related to another project 
(gwt-recaptcha). Please dismiss the issue.

Original comment by andres.a...@gmail.com on 27 Apr 2011 at 10:19

GoogleCodeExporter commented 9 years ago
I don't think this issue needs to be dismissed. I worked around the problem 
referenced above by doing:

<%
 ReCaptcha c = ReCaptchaFactory.newSecureReCaptcha("...", "...", false);
 ((ReCaptchaImpl) c).setRecaptchaServer("https://www.google.com/recaptcha/api");
 out.print(c.createRecaptchaHtml(null, null));
%>

Original comment by iruffne...@gmail.com on 29 Apr 2011 at 3:07

GoogleCodeExporter commented 9 years ago
thanks iruffine ... you saved me a lot of headache, your the MAN 

Original comment by uahme...@gmail.com on 11 May 2011 at 3:26

GoogleCodeExporter commented 9 years ago
thanks iruffine

Original comment by i...@thobach.de on 16 May 2011 at 4:03

GoogleCodeExporter commented 9 years ago
Just wanted to point out that this is fixed in the 0.0.8 release. This is fixed 
so the issue should be discarded. I think the blocker here is that 0.0.8 isn't 
in maven central. 

Original comment by tiggerizzy on 20 Mar 2012 at 2:56

GoogleCodeExporter commented 9 years ago
Try 
http://repo2.maven.org/maven2/com/google/code/maven-play-plugin/net/tanesha/reca
ptcha4j/recaptcha4j/0.0.8/

Original comment by byteri...@gmail.com on 30 May 2013 at 3:29

GoogleCodeExporter commented 9 years ago
hi I have updated jar file with 0.0.8 version but still rcaptcha not working 
for ssl

Original comment by bucksexc...@gmail.com on 10 Apr 2014 at 10:55

GoogleCodeExporter commented 9 years ago
I just downloaded 0.0.8 for the first time today and it seems there has been a 
regression(?) Not sure because I hadn't used it before, but just wanted to let 
you know.

I'm using the following and it works:

ReCaptcha c;
if(request.isSecure()) {
     c = ReCaptchaFactory.newSecureReCaptcha("pubkey", "privkey", true);
     ((ReCaptchaImpl) c).setRecaptchaServer("https://www.google.com/recaptcha/api");
} else {
     c = ReCaptchaFactory.newReCaptcha("pubkey", "privkey", true);
     ((ReCaptchaImpl) c).setRecaptchaServer("http://www.google.com/recaptcha/api");
}
out.print(c.createRecaptchaHtml(null, null));

Original comment by luisdani...@gmail.com on 12 Jun 2014 at 11:13