Open GoogleCodeExporter opened 9 years ago
Your application design is invalid if the ReCaptchaImpl is getting serialized
by wicket. You have attached a reference to a ReCaptchaImpl instance that you
should not have.
The ReCaptchaImpl should be accessed via a singleton pattern. After
construction and setters have been called it is thread-safe via the main
interface so your whole Wicket application could share 1 instance if it wanted.
Another reason the ReCaptchaImpl should never be serialized (without due care)
is that it contains the privateKey and you need to provide a very good reason
why that information is to be thrown around and copied into other formats via
serialization.
I vote this bug be marked invalid.
Original comment by darryl.m...@darrylmiles.org
on 18 Jun 2012 at 11:52
Thanks for the explanation!
Original comment by alejandr...@gmail.com
on 18 Jun 2012 at 11:54
Original issue reported on code.google.com by
chrisand...@gmail.com
on 5 Oct 2011 at 6:14