What features must the password have?

The password must have at least 8 characters. It must contain at least one upper and lower case letter, and at least one number and one special character.