Difference between revisions of "Create password validator"

From OpenKM Documentation
Jump to: navigation, search
(Created page with 'You can create your own password validation in OpenKM. By default OpenKM has password validation disabled and there's used the '''NoPasswordValidator''' class. Also there's some …')
 
Line 22: Line 22:
  
 
[[Category: Installation Guide]]
 
[[Category: Installation Guide]]
 +
[[Category: OKM Network]]

Revision as of 17:21, 17 May 2010

You can create your own password validation in OpenKM. By default OpenKM has password validation disabled and there's used the NoPasswordValidator class. Also there's some default OpenKM password validation class called CompletePasswordValidator class.


Enabling CompletePasswordValidator class can configure minimum and maximum password length, number of lowercase and uppercase characters, number of numeric characters and number of special characters that appearing in password. You can see more information at Application_configuration


You can also create your own password class that must implements the PasswordValidator interface:

public interface PasswordValidator {
	
	/**
	 * Validate
	 * 
	 * @param password
	 * @throws ValidatorException
	 */
	public void Validate(String password) throws ValidatorException;
	
}