GWT - No CAPTCHA reCAPTCHA

2015-03-31 Thread pac
Is it possible to use new No CAPTCHA reCAPTCHA 
(http://googlewebmastercentral.blogspot.ie/2014/12/are-you-robot-introducing-no-captcha.html)
 
with GWT?
For old style I think https://code.google.com/p/gwt-recaptcha/ worked with 
GWT
Just wondering how to use new API with GWT

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Can we build GWT app that does not have Captcha function but is still able to prevent spam?

2014-09-22 Thread Tom
 

I am building Gwt site for mobile devices. The screen size of the mobile 
devices is very small, so I think if i require users to enter Captcha when 
they register then it could be quite cumbersome.

I heard that we can use some Javascript technique to prevent the Spam 
without needing to use captcha.

GWT is all about Javascript, so I am not sure if GWT has any technology to 
prevent spam without using Captcha?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Can we build GWT app that does not have Captcha function but is still able to prevent spam?

2014-09-22 Thread Jens
GWT does not have any pre-made spam protection code.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Can we build GWT app that does not have Captcha function but is still able to prevent spam?

2014-09-22 Thread Joseph Lust
Anything client side can be compromised by spammers, so implement some 
server side CAPTCHA or equivalent.

Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


captcha problem in gwt

2011-12-07 Thread shipra dhooper
if i create captcha in gwt application then it doesn't show on apache
server but it display in hosted modehow can i solve this problem can
anybody help me






thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: captcha problem in gwt

2011-12-07 Thread Raphael André Bauer
On Wed, Dec 7, 2011 at 2:40 PM, shipra dhooper shipra@gmail.com wrote:
 if i create captcha in gwt application then it doesn't show on apache server
 but it display in hosted modehow can i solve this problem can anybody
 help me

What captcha vendor are you using? Most likely you have to generate a
personal key for your domain. If you don't do this the captcha will
work on localhost (for testing), but not on your domain.

And no - this is almost for sure not a GWT problem,


Best,


Raphael








 thanks in advance

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
inc: http://ars-machina.raphaelbauer.com
tech: http://ars-codia.raphaelbauer.com
web: http://raphaelbauer.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Reload captcha

2011-10-11 Thread Guru
Hi,

I have a SimpleCaptcha (http://simplecaptcha.sourceforge.net/
index.html) in one of my page. On submission of this page, I do a
validation of the captcha answer entered by the user. If incorrect I
reload the same page with an error message. This time I need a new
captcha to be shown to the user. This works as expected in hosted
mode, but when I deploy the same on liferay portal, I get the old
captcha.

Can someone let me know how this can be fixed? Thanks in advance.

Regards,
Guru

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Showing Captcha using UiBinder

2011-04-14 Thread Jonas
I have a registration page for new users using SimpleCaptcha. I got it
to work without UiBinder but can't get it to work with. Does anyone
have any ideas to what I'm doing wrong?

The following works (without UiBinder):

private static String html = divtable ... trtd id=
\captchaImageContainer\/td/tr ... /table/div;
HTMLPanel panel = new HTMLPanel(html);
...
private Image captchaImage = new Image(/SimpleCaptcha.jpg);
...
panel.add(captchaImage, captchaImageContainer);


But when I try to convert it to UiBinder:

In my XML file:

g:Image ui:field=captchaImage /

In the view:

@UiField
Image captchaImage;

...

widget = uiBinder.createAndBindUi(this);
captchaImage = new Image(/SimpleCaptcha.jpg);

Am I missing something here? Any ideas appreciated.





-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Showing Captcha using UiBinder

2011-04-14 Thread Thomas Broyer
Create your image *before* the createAndBindUi and use 
@UiField(provided=true) on your field, to tell UiBinder that it should use 
the field's value rather than construct the widget and inject it into the 
field.

...or you can let UiBinder create the image and simply do a setUrl() 
afterwards.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT and re-Captcha

2009-10-10 Thread vacorda

This is sort of a refinement to:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/99c259aad06406c6/f7fb27b8fa47760d?lnk=gstq=GWT+recaptcha#f7fb27b8fa47760d

The idea here is I wanted a captcha control that I can insert in my
GWT Dialogs. I have pasted the composite below to share. A little bit
of a hack because of the creation of Label dummyLable = new Label();
and manipulating the Element to set the ID attribute. Prerequisite to
using this control is to load the reCaptcha script:

script type=text/javascript src=http://api.recaptcha.net/js/
recaptcha_ajax.js/script

public class CaptchaComposite extends Composite {
private Grid grid = new Grid(1, 1);
private static final String DIV_NAME = recaptcha_div;

public CaptchaComposite() {

this.initWidget(grid);

Label dummyLable = new Label();
grid.setWidget(0, 0, dummyLable);
Element divElement = dummyLable.getElement();
divElement.setAttribute(id, DIV_NAME);
}

private void createChallenge() {
createNewChallengeJSNI();
}

public String getChallengeField() {
String value = getChallengeJSNI();
PMLogger.debug(challenge= + value);
return value;
}
public String getResponse() {
String value = getResponseJSNI();
PMLogger.debug(response= + value);
return value;
}


private native String getResponseJSNI()
/*-{
  return $wnd.Recaptcha.get_response();
}-*/;

private native String getChallengeJSNI()
/*-{
  return $wnd.Recaptcha.get_challenge();
}-*/;

private native void createNewChallengeJSNI()
/*-{
$wnd.Recaptcha.create(your public key here,
recaptcha_div, {
   theme: red,
   callback: $wnd.Recaptcha.focus_response_field
});
}-*/;

private native void reloadChallengeJSNI()
/*-{
$wnd.Recaptcha.reload();
}-*/;

private native void destroyJSNI()
/*-{
$wnd.Recaptcha.destroy();
}-*/;

public void createNewChallenge() {
reloadChallengeJSNI();
}

public void destroyCaptcha() {
destroyJSNI();
}

@Override
protected void onAttach() {
super.onAttach();
createChallenge();
}

}

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Recommendations for Captcha?

2009-01-09 Thread DanielC

Hi guys,

I'd like to integrate a captcha into my registration page, so I
thought I'd ping the community to see what other people are using and
what their recommendations are for a Java/Servlet implementation?

I've tried JCaptcha. It's a good project and straightforward to use,
but I've found the distortion factor to be too great (others have also
voiced concerns about this). My feeling is that this will prove to be
a limiting factor w.r.t. user experience (e.g. you have to refresh a
handful of times before someone like my mom gets lucky and can
correctly read the characters...).

Also, I'm looking for open source or free project recommendations.

Thanks,
Daniel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Recommendations for Captcha?

2009-01-09 Thread krishna

http://recaptcha.net/

Regards,
Krishna

On Jan 10, 2:03 am, DanielC dpc...@hotmail.com wrote:
 Hi guys,

 I'd like to integrate a captcha into my registration page, so I
 thought I'd ping the community to see what other people are using and
 what their recommendations are for a Java/Servlet implementation?

 I've tried JCaptcha. It's a good project and straightforward to use,
 but I've found the distortion factor to be too great (others have also
 voiced concerns about this). My feeling is that this will prove to be
 a limiting factor w.r.t. user experience (e.g. you have to refresh a
 handful of times before someone like my mom gets lucky and can
 correctly read the characters...).

 Also, I'm looking for open source or free project recommendations.

 Thanks,
 Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



servlet mapping, captcha and image...

2008-12-02 Thread [EMAIL PROTECTED]


I have a kaptcha which i have to define in my web.xml as

servlet-mapping
   servlet-nameKaptcha/servlet-name
   url-pattern/kaptcha.jpg/url-pattern
/servlet-mapping


In hosted mode where the module is inherited ( no explicit web.xml
definition ), code like

Image img = new Image(/kaptcha.jpg);

works fine. But when i deploy my app, the code will not work, but code
below works...

Image img = new Image(kaptcha.jpg);

I dont want to change code just for the app server build alone.  Can
anybody help why this would happen ? Something to do with how the url
pattern is formed in hosted mode...any ideas ?

Thx

-- pady


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Captcha

2008-11-29 Thread dablack

Micky,

I came across this one on SourceForge.net:

http://sourceforge.net/search/?type_of_search=softwords=skewpassimage

I wasn't able to get the jar file to work in my environment so I
included the source in with mine and made the modifications to it
needed to get it to run properly in my environment. So far I like the
results.

David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Captcha

2008-11-25 Thread Olostan

Hello

On Nov 24, 6:16 pm, Micky [EMAIL PROTECTED] wrote:
 There are a few similar threads posted about this but none recently so
 here goes again: has anyone stumbled across a good, clean, secure
 Captcha implemenation for GWT on their travels?

I bet there are no 'robots', that can automatically execute
javascript, that GWT produce. As it require normal browser. As for me,
GWT is already something like capcha, that not allows fully automatic
bots to do actions.

WBR,
Valentyn Shybanov
http://olostan.org.ua/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Captcha

2008-11-24 Thread Micky

There are a few similar threads posted about this but none recently so
here goes again: has anyone stumbled across a good, clean, secure
Captcha implemenation for GWT on their travels?

Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---