Foren

Portlet login (captcha)

thumbnail
Boubker TAGNAOUTI, geändert vor 14 Jahren.

Portlet login (captcha)

Regular Member Beiträge: 140 Beitrittsdatum: 29.09.08 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: Portlet login (captcha)

Liferay Legend Beiträge: 2871 Beitrittsdatum: 31.08.06 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: Portlet login (captcha)

Regular Member Beiträge: 140 Beitrittsdatum: 29.09.08 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: Portlet login (captcha)

Regular Member Beiträge: 140 Beitrittsdatum: 29.09.08 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: Portlet login (captcha)

Liferay Legend Beiträge: 2871 Beitrittsdatum: 31.08.06 Neueste Beiträge
Thanks Boubker!

I'll review and apply it ASAP.
thumbnail
Boubker TAGNAOUTI, geändert vor 14 Jahren.

RE: Portlet login (captcha)

Regular Member Beiträge: 140 Beitrittsdatum: 29.09.08 Neueste Beiträge
It's a pleasure...

I'll work on the solution using hook when i'll have more free time ;-)
Jonathan Doklovic, geändert vor 14 Jahren.

RE: Portlet login (captcha)

New Member Beitrag: 1 Beitrittsdatum: 12.04.10 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: Portlet login (captcha)

Liferay Legend Beiträge: 1519 Beitrittsdatum: 07.08.06 Neueste Beiträge
reCaptcha is available in Liferay 6.0 onwards not in 5.2.x
James McGovern, geändert vor 13 Jahren.

RE: Portlet login (captcha)

Junior Member Beiträge: 68 Beitrittsdatum: 13.06.10 Neueste Beiträge
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, geändert vor 13 Jahren.

RE: Portlet login (captcha)

Liferay Legend Beiträge: 1668 Beitrittsdatum: 15.07.08 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: Portlet login (captcha)

Regular Member Beiträge: 140 Beitrittsdatum: 29.09.08 Neueste Beiträge
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