Fórum

Portlet login (captcha)

thumbnail
Boubker TAGNAOUTI, modificado 14 Anos atrás.

Portlet login (captcha)

Regular Member Postagens: 140 Data de Entrada: 29/09/08 Postagens Recentes
Hi guys,

Portlet login is not accessible for people with visual disease when captcha is activated on create account page. We integrated reCaptcha as an alternative to Liferay's natif captcha.
reCaptcha is a free, secure and accessible CAPTCHA wich propose audio alternative when users cannot interpret images. He is also accessible when javascript is turned off.
What do you think about integration of this tool to Liferay Portal?

Official website for reCaptcha:
http://www.captcha.net/

A link to our test server
http://193.84.73.39/web/guest/accueil?p_p_id=58&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=6&saveLastPath=0&_58_struts_action=%2Flogin%2Fcreate_account

Regards
thumbnail
Jorge Ferrer, modificado 14 Anos atrás.

RE: Portlet login (captcha)

Liferay Legend Postagens: 2871 Data de Entrada: 31/08/06 Postagens Recentes
Hi Boubker,

Sounds good to me. Can you create a patch for the reCaptcha integration?

Ideally it should be a property that allows the users to switch between captcha mechanisms but I can do that part if you haven't done it that way.
thumbnail
Boubker TAGNAOUTI, modificado 14 Anos atrás.

RE: Portlet login (captcha)

Regular Member Postagens: 140 Data de Entrada: 29/09/08 Postagens Recentes
Hi Jorge,

I created a ticket for that LPS-5484.
I will post a patch for reCaptcha integration as soon as possible.

Regards

Boubker
thumbnail
Boubker TAGNAOUTI, modificado 14 Anos atrás.

RE: Portlet login (captcha)

Regular Member Postagens: 140 Data de Entrada: 29/09/08 Postagens Recentes
Hi Jorge,

I have just found time to create patches and test the integration of reCaptcha for the trunk version.
The solution uses a property to switch between a mechanism to another.
We will be able to obtain a better level of integration by using hook mechanism for captcha services.

regards,

Boubker

PS : check LPS-5484 for our contribution
thumbnail
Jorge Ferrer, modificado 14 Anos atrás.

RE: Portlet login (captcha)

Liferay Legend Postagens: 2871 Data de Entrada: 31/08/06 Postagens Recentes
Thanks Boubker!

I'll review and apply it ASAP.
thumbnail
Boubker TAGNAOUTI, modificado 14 Anos atrás.

RE: Portlet login (captcha)

Regular Member Postagens: 140 Data de Entrada: 29/09/08 Postagens Recentes
It's a pleasure...

I'll work on the solution using hook when i'll have more free time ;-)
Jonathan Doklovic, modificado 14 Anos atrás.

RE: Portlet login (captcha)

New Member Mensagem: 1 Data de Entrada: 12/04/10 Postagens Recentes
Can anyone tell me how to get this to work?

I'm using liferay 5.2.3 and added this to portal-ext.properties:

captcha.engine.impl=com.liferay.portal.captcha.recaptcha.ReCaptchaImpl
captcha.engine.recaptcha.key.private=[my private key]
captcha.engine.recaptcha.key.public=[my public key]
captcha.engine.recaptcha.url.script=http://api.recaptcha.net/challenge?k=
captcha.engine.recaptcha.url.noscript=http://api.recaptcha.net/noscript?k=
captcha.engine.recaptcha.url.verify=http://api-verify.recaptcha.net/verify


But when I go to the create account screen I still get the simple captcha.

What am I missing?

Thanks,

- Jonathan
thumbnail
Mika Koivisto, modificado 14 Anos atrás.

RE: Portlet login (captcha)

Liferay Legend Postagens: 1519 Data de Entrada: 07/08/06 Postagens Recentes
reCaptcha is available in Liferay 6.0 onwards not in 5.2.x
James McGovern, modificado 13 Anos atrás.

RE: Portlet login (captcha)

Junior Member Postagens: 68 Data de Entrada: 13/06/10 Postagens Recentes
Lets agree that all forms of CAPTCHA are being subject to attack by offshore turks. Would a better approach be to consider enabling alternate forms of authentication. For example, instead of just asking for username/password, could we incorporate the grid-style as used by http://myvidoop.com?
thumbnail
Julio Camarero, modificado 13 Anos atrás.

RE: Portlet login (captcha)

Liferay Legend Postagens: 1668 Data de Entrada: 15/07/08 Postagens Recentes
Hi James,

I have just tested myvidoop.com mechanism and it is really cool.

If you want to include it in liferay, I would feel very happy to help you with the contribution process.

However, I don't think this mechanism is more accessible than the old one, because this one requires you to recognize images and those images don't even have an alt attribute.

Cheers,
thumbnail
Boubker TAGNAOUTI, modificado 14 Anos atrás.

RE: Portlet login (captcha)

Regular Member Postagens: 140 Data de Entrada: 29/09/08 Postagens Recentes
Hi Jonathan,

You can backport changes to integrate reCaptcha for 5.2.x version with this :
http://svn.liferay.com/changelog/portal/trunk?cs=40102