mdarifmustafa / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-password: NonAlphanumericCharacterRule ignores the result of getValidCharacters() during validation #231

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Subclass NonAlphaNumericCharacterRule and override getValidCharacters
2. validate a password containing special characters not included in 
getValidCharacters according to the usage example on the project's page
3. all the non-alphanumeric characters in the password are counted in the 
getNumberOfCharacterType method, not only the specified ones

What is the expected output? What do you see instead?
only the characters from the provided list should be counted as valid

What version of the product are you using? On what operating system?
3.1.2

Original issue reported on code.google.com by maciej.n...@gmail.com on 2 Oct 2014 at 12:04

GoogleCodeExporter commented 8 years ago

Original comment by dfis...@gmail.com on 3 Oct 2014 at 2:44

GoogleCodeExporter commented 8 years ago
Fixed in passay: https://github.com/vt-middleware/passay/issues/4

Note that vt-password is in maintenance, and only receiving security patches.

Original comment by dfis...@gmail.com on 9 Oct 2014 at 6:07