Rule for validating if a password uses valid special characters / non-alphanumeric characters
-
What is the exact rule you have in place for the password validation rule of special characters / non-alphanumeric characters?
-
These are the steps FusionAuth takes to check whether a password contains special characters:
- Convert the Java String to a char[] (a char is a 16-bit unicode value in Java)
- Check each character c to determine whether it is a special character using
!Character.isAlphabetic(c) && !Character.isDigit(c) - If any character in the string returns true for the above check, we consider it to contain a special character
-