#89: Add MIN-LENGTH to PASSWORD parser; enforce MAX-LENGTH on the server side --------------------------+------------------------------------------------- Reporter: lpolzer | Owner: sakhmechet Type: enhancement | Status: new Priority: low | Milestone: Component: weblocks | Version: Resolution: | Keywords: password,min-length,max-length --------------------------+------------------------------------------------- Comment (by sakhmechet):
min-length should probably be specific to input-presentation/text-parser, not just passwords. Also, max-length should be enforced for all input fields as well, as it isn't specific to passwords.
Once min-length is implemented for input fields, it's probably a good idea to set password min-length to some reasonable configurable default (*password-min-length*).
It looks like max-length is appropriate for both presentations and parsers, a situation I didn't think of. They should probably be derived from a common subclass then, unless we want to specify max-length twice (once in the parser, and once in the presentation).