Fórumok

Portlet login (captcha)

thumbnail
Boubker TAGNAOUTI, módosítva 14 év-val korábban

Portlet login (captcha)

Regular Member Bejegyzések: 140 Csatlakozás dátuma: 2008.09.29. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: Portlet login (captcha)

Liferay Legend Bejegyzések: 2871 Csatlakozás dátuma: 2006.08.31. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: Portlet login (captcha)

Regular Member Bejegyzések: 140 Csatlakozás dátuma: 2008.09.29. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: Portlet login (captcha)

Regular Member Bejegyzések: 140 Csatlakozás dátuma: 2008.09.29. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: Portlet login (captcha)

Liferay Legend Bejegyzések: 2871 Csatlakozás dátuma: 2006.08.31. Legújabb bejegyzések
Thanks Boubker!

I'll review and apply it ASAP.
thumbnail
Boubker TAGNAOUTI, módosítva 14 év-val korábban

RE: Portlet login (captcha)

Regular Member Bejegyzések: 140 Csatlakozás dátuma: 2008.09.29. Legújabb bejegyzések
It's a pleasure...

I'll work on the solution using hook when i'll have more free time ;-)
Jonathan Doklovic, módosítva 14 év-val korábban

RE: Portlet login (captcha)

New Member Bejegyzés: 1 Csatlakozás dátuma: 2010.04.12. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: Portlet login (captcha)

Liferay Legend Bejegyzések: 1519 Csatlakozás dátuma: 2006.08.07. Legújabb bejegyzések
reCaptcha is available in Liferay 6.0 onwards not in 5.2.x
James McGovern, módosítva 13 év-val korábban

RE: Portlet login (captcha)

Junior Member Bejegyzések: 68 Csatlakozás dátuma: 2010.06.13. Legújabb bejegyzések
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, módosítva 13 év-val korábban

RE: Portlet login (captcha)

Liferay Legend Bejegyzések: 1668 Csatlakozás dátuma: 2008.07.15. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: Portlet login (captcha)

Regular Member Bejegyzések: 140 Csatlakozás dátuma: 2008.09.29. Legújabb bejegyzések
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