Feedback Panel exposes password in cleartext if minimumLength test fails

2012-02-15 Thread pblakez
Gidday

when I add password field with minimumLength and the user enters an shorter
password it is displayed in the feedback panel in cleartext
is there a work around for this ?

e.g.
form.add(new
PasswordTextField(pass).add(StringValidator.minimumLength(8)).setLabel(new
ModelString(Password:)));

feedback = '123456' is shorter than the minimum of 8 characters.


Wicket 1.5.3


cheers pb...

*follow  ==*   https://www.twitter.com/@pblakez
https://www.facebook.com/pblakez


Re: Feedback Panel exposes password in cleartext if minimumLength test fails

2012-02-15 Thread Igor Vaynberg
override the validator message to not show the value...

-igor

On Wed, Feb 15, 2012 at 3:11 PM, pblakez pbla...@gmail.com wrote:
 Gidday

 when I add password field with minimumLength and the user enters an shorter
 password it is displayed in the feedback panel in cleartext
 is there a work around for this ?

 e.g.
 form.add(new
 PasswordTextField(pass).add(StringValidator.minimumLength(8)).setLabel(new
 ModelString(Password:)));

 feedback = '123456' is shorter than the minimum of 8 characters.


 Wicket 1.5.3


 cheers pb...

 *follow  ==*   https://www.twitter.com/@pblakez
 https://www.facebook.com/pblakez

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Feedback Panel exposes password in cleartext if minimumLength test fails

2012-02-15 Thread pblakez
ok that works thanks  igor


cheers pb...

On Thu, Feb 16, 2012 at 10:22 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 override the validator message to not show the value...

 -igor

 On Wed, Feb 15, 2012 at 3:11 PM, pblakez pbla...@gmail.com wrote:
  Gidday
 
  when I add password field with minimumLength and the user enters an
 shorter
  password it is displayed in the feedback panel in cleartext
  is there a work around for this ?
 
  e.g.
  form.add(new
 
 PasswordTextField(pass).add(StringValidator.minimumLength(8)).setLabel(new
  ModelString(Password:)));
 
  feedback = '123456' is shorter than the minimum of 8 characters.
 
 
  Wicket 1.5.3
 
 
  cheers pb...
 
  *follow  ==*   https://www.twitter.com/@pblakez
  https://www.facebook.com/pblakez

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
cheers pb...

*follow  ==*   https://www.twitter.com/@pblakez
https://www.facebook.com/pblakez