[ 
https://issues.apache.org/jira/browse/WICKET-2393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786102#action_12786102
 ] 

Juergen Donnerstag commented on WICKET-2393:
--------------------------------------------

as I said: you may subclass shouldTrimInput() and return false.

> Passwords should not be trimmed
> -------------------------------
>
>                 Key: WICKET-2393
>                 URL: https://issues.apache.org/jira/browse/WICKET-2393
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.0
>            Reporter: Olivier Ribardière
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>             Fix For: 1.4.2
>
>         Attachments: WICKET-2393-fix.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When using the SignInPanel, if password input field contains spaces at the 
> begining or at the end, they are trimmed by the PasswordTextField class.
> Passwords should not be trimed.
> Resolution is probably to override the convertValue method in the 
> PasswordTextField class. I provided a patch (attached to this issue), please 
> indicate if any problem with it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to