Captcha in Play 2.0

942 views
Skip to first unread message

Jerry Yan

unread,
Feb 28, 2012, 10:43:06 AM2/28/12
to play-fr...@googlegroups.com
In Play 1.2.x, there is an API for Captcha. However, I could not find it in Play 2.0 RC-2 so far. Is it something planned? 

Olivier Refalo

unread,
Feb 28, 2012, 11:16:31 AM2/28/12
to play-fr...@googlegroups.com
Well, I am planing on converting recaptcha play 1.0 at some point.

My tests with play 2.0 submodules has been harsh so far, mainly because routing is no wired property. 

Guillaume Bort

unread,
Feb 28, 2012, 12:18:38 PM2/28/12
to play-fr...@googlegroups.com
Well to create a captcha module you don't have to create a full
featured Play sub project. A simple Java or Scala project is enough.

> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/sH2QrWRmOscJ.
>
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.

--
Guillaume Bort

Olivier Refalo

unread,
Feb 28, 2012, 2:09:07 PM2/28/12
to play-fr...@googlegroups.com
You are right, recaptcha doesn't need routing. will play around.

Guillaume, can you give me a hint on this one ?


On Tuesday, February 28, 2012 12:18:38 PM UTC-5, Guillaume Bort wrote:
Well to create a captcha module you don't have to create a full
featured Play sub project. A simple Java or Scala project is enough.

On Tue, Feb 28, 2012 at 5:16 PM, Olivier Refalo <ore...@yahoo.com> wrote:
> Well, I am planing on converting recaptcha play 1.0 at some point.
>
> My tests with play 2.0 submodules has been harsh so far, mainly because
> routing is no wired property.
>
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/sH2QrWRmOscJ.
>

> To post to this group, send email to play-framework@googlegroups.com.


> To unsubscribe from this group, send email to


> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.

--
Guillaume Bort

Zoro

unread,
Jul 19, 2012, 9:59:59 AM7/19/12
to play-fr...@googlegroups.com
Does anyone know? Implemented a module for recaptcha?

Jorge Cordova

unread,
Jul 19, 2012, 1:01:03 PM7/19/12
to play-fr...@googlegroups.com
Using Recapcha as a script is not that hard

You can use a template for the recapcha with some parameters and you are set.

For the actual request just use the jsp jar and you are ready.
I did it this way and it took me no more than 15 minutes.

import net.tanesha.recaptcha.ReCaptchaImpl;
import net.tanesha.recaptcha.ReCaptchaResponse;



If you want something a little bit more fancy you may create a helper for it

2012/7/19 Zoro <khand...@gmail.com>
Does anyone know? Implemented a module for recaptcha?

On Tuesday, February 28, 2012 7:43:06 PM UTC+4, Jerry Yan wrote:
In Play 1.2.x, there is an API for Captcha. However, I could not find it in Play 2.0 RC-2 so far. Is it something planned? 

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/AUBbMafu5sMJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages