i removed encryption support from passwordtextfield as it seems kinda funky
to me.

we would encrypt a value before rendering it, then decrypt it before
applying it to the model.

but how do you decrypt a user-entered string? so the field would start as
<input value="encrypted"/>
but then when submitted it would submit the clear text value, which we would
then try to decrypt?

also the current impl of
protected final void onComponentTag(final ComponentTag tag)
    {
        super.onComponentTag(tag);
        tag.put("value", getResetPassword() ? "" :
getModelObjectAsString());
    }

would also always set the clear text value anyways :|

-igor

Reply via email to