I am also interested in this. How can the captcha in seam be configured? Is
there any documentation?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072238#4072238
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072238
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101885
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074349#4074349
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074349
___
While waiting for the team to provide a way to configure captcha I have
elaborated a tweak that I want make sure is correct. I have subclassed
CaptchaImage like so:
| @Startup
| @Scope(APPLICATION)
| @Name("mycaptchaimage")
| @Intercept(NEVER)
| @Install(precedence = BUILT_IN,
|
Oops, the code I provided only displays a custom captcha image, it cannot
perform the validation. You have to create a custom "captcha" component.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074371#4074371
Reply to the post :
http://www.jboss.com/index.ht
I configured captcha by myself inside CaptchaImage.java:
|@Create
|public void create()
|{
|DefaultManageableImageCaptchaService serviceTmp = new
DefaultManageableImageCaptchaService();
|DefaultGimpyEngine engine = (DefaultGimpyEngine)
serviceTmp.getEngine(
Actually, i have been trying to customize the captcha with seam 2.0. And what i
did is the same as wise_guybg, with some changes. My code is this:
| import java.awt.Color;
| import java.awt.image.BufferedImage;
| import java.io.ByteArrayOutputStream;
| import java.io.IOException;
|
To quote myself:
anonymous wrote : Oops, the code I provided only displays a custom captcha
image, it cannot perform the validation. You have to create a custom "captcha"
component.
The captcha classes provided by Seam are tightly related so you have to create
a new copy of all of them if you
FYI Notice that yesterday this was fixed for the 2.0.0.GA version:
http://jira.jboss.com/jira/browse/JBSEAM-865
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085335#4085335
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p
Thanks wise_guybg! That was the error as you told, that i should replace the
captcha instead of name it mycaptcha.
Now is working perfectly :D
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085374#4085374
Reply to the post :
http://www.jboss.com/index.html?
Configuring the captcha image is now supported in the CVS version of Seam.
Check the security chapter of the reference docs for more info (or see the
seamspace example).
http://jira.jboss.org/jira/browse/JBSEAM-865
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
Thanks Shane. Could you please check my comment in Jira if this can be released
with CR1?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085860#4085860
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085860
11 matches
Mail list logo