com.opencms.util
Class PasswordValidtation

java.lang.Object
  |
  +--com.opencms.util.PasswordValidtation
All Implemented Interfaces:
I_PasswordValidation

public class PasswordValidtation
extends Object
implements I_PasswordValidation

Validates OpenCms passwords.

Version:
1.0
Author:
Hanjo Riege

Constructor Summary
PasswordValidtation()
           
 
Method Summary
 void checkNewPassword(CmsObject cms, String password, String oldPassword)
          The method to check the password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordValidtation

public PasswordValidtation()
Method Detail

checkNewPassword

public void checkNewPassword(CmsObject cms,
                             String password,
                             String oldPassword)
                      throws CmsException
The method to check the password.

Specified by:
checkNewPassword in interface I_PasswordValidation
Parameters:
cms - The CmsObject
password - the password to check
oldPassword - the old password.
CmsException