[opencms-dev] opencms.properties: "PasswordValidtation" or "PasswordValidation" ?

Steffen Wachenfeld steffen.wachenfeld at math.uni-muenster.de
Thu Apr 15 14:00:01 CEST 2004


Hi,

after clean install of OpenCms 5.0.1 I found this in my 
opencms.properties file:

#
# This is the class that is asked if a new enterd password is ok. The 
standard class
# com.opencms.util.PasswordValidation only checks if the password is at 
least 4 characters
# long. If you use your own class here it must have a static method like 
this:
#     public static void checkNewPassword(CmsObject cms, String 
password, String oldPassword)throws CmsException{
# It gets the cms object, the new enterd password and the old password 
of the user if its
# a password change(null otherwise). If the password is ok the method 
does nothing. If not
# it should throw an CmsException of type C_INVALID_PASSWORD. The 
message of the exeption
# will be displayed to the user, so it should come from the language file.
#################################################################################
passwordvalidatingclass=com.opencms.util.PasswordValidtation


is "Validtation" a typo and shouldn't it be "Validation" ??

Steffen



More information about the opencms-dev mailing list